[datatable-help] Auto-convert characters to factors when settings keys?

Short, Tom TShort at epri.com
Tue May 25 21:12:45 CEST 2010


> -----Original Message-----
> From: datatable-help-bounces at lists.r-forge.r-project.org 
> [mailto:datatable-help-bounces at lists.r-forge.r-project.org] 
> On Behalf Of mdowle at mdowle.plus.com
> Sent: Tuesday, May 25, 2010 13:10
> To: Short, Tom
> Cc: datatable-help at lists.r-forge.r-project.org
> Subject: Re: [datatable-help] Auto-convert characters to 
> factors when settings keys?
> 
> 
> I'm not up to speed with S4 either. Hm.
> 
> I don't mind the dtbl approach other than it gets ugly when 
> compounding statements :
> 
>    dt[where,select,by][having][join,...][where][join,...]...
> 
> translates to
> 
>    
> dtbl(dtbl(dtbl(dtbl(dtbl(dt,where,select,by),having),join),whe
> re),join)
> 
> Wouldn't be a problem if we could allow both and let the user chose.

Good point. That's messy. We could have a dtbl that worked on either
data tables or data frames and a [.data.table that worked just with
data.tables. Or, we could skip the whole idea:)

- Tom


More information about the datatable-help mailing list