[datatable-help] Environment of eval() execution for "j" appears to vary inexplicably
Matthew Dowle
mdowle at mdowle.plus.com
Sun Aug 29 16:33:32 CEST 2010
The infinite recursion error when data.table has the wrong class is now
caught :
> DT = data.table(a=1:3,key="a")
> class(DT) = "data.table"
> DT[J(2)] # previously resulted in 'infinite recursion'
Error in dimnames.data.table(x) :
data.table inherits from data.frame (from v1.5) but this data.table does
not. Has it been created manually (e.g. by using 'structure' rather than
'data.table') or saved to disk using a prior version of data.table? The
correct class is c('data.table','data.frame').
>
Matthew
--
View this message in context: http://r.789695.n4.nabble.com/Environment-of-eval-execution-for-j-appears-to-vary-inexplicably-tp2315239p2399111.html
Sent from the datatable-help mailing list archive at Nabble.com.
More information about the datatable-help
mailing list