[datatable-help] Gremlins since 1.7.8
Damian Betebenner
dbetebenner at nciea.org
Thu Feb 2 15:19:28 CET 2012
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
dbetebenner at nciea.org<mailto:dbetebenner at nciea.org>
www.nciea.org<http://www.nciea.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20120202/58342f36/attachment.html>
More information about the datatable-help
mailing list