All,

My colleagues and I have been working hard to root out old code since 1.7.8 but 
every now and then for reasons I can't discern I get errors like:


Error in `[.data.table`(x, , `:=`(i, .xi), with = FALSE) :

  At an earlier point, this data.table has been copied by R. Avoid key<-, 
names<- and attr<- which in R currently (and oddly) all copy the whole 
data.table. Use set* syntax instead to avoid copying:

setkey(), setnames() and setattr(). If this message doesn't help, please ask on 
datatable-help.


If I have data.table objects created with an earlier version of data.table, do 
they function exactly the same with the updated version of data.table. Or do 
they need to be re-data.tabled?

Strangely, the above error disappeared when we did some cleaning on the 
data.set and resaved it?

Puzzled,

Damian Betebenner
Center for Assessment
PO Box 351
Dover, NH   03821-0351

Phone (office): (603) 516-7900
Phone (cell): (857) 234-2474
Fax: (603) 516-7910

[email protected]<mailto:[email protected]>
www.nciea.org<http://www.nciea.org/>



_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to