[datatable-help] whole data.table copied "warning"

statquant3 statquant at outlook.com
Tue Jan 27 15:53:47 CET 2015


Arun, this is what I get...
I still think something is wrong no ?

Warning message:
In `[.data.table`(DT, , `:=`(KEY, paste0(date, symbol, sep = "_"))) :
  Invalid .internal.selfref detected and fixed by taking a copy of the whole
table so that := can add this new column by reference. At an earlier point,
this data.table has been copied by R (or been created manually using
structure() or similar). Avoid key<-, names<- and attr<- which in R
currently (and oddly) may copy the whole data.table. Use set* syntax instead
to avoid copying: ?set, ?setnames and ?setattr. Also, in R<=v3.0.2,
list(DT1,DT2) copied the entire DT1 and DT2 (R's list() used to copy named
objects); please upgrade to R>v3.0.2 if that is biting. If this message
doesn't help, please report to datatable-help so the root cause can be
fixed.




--
View this message in context: http://r.789695.n4.nabble.com/whole-data-table-copied-warning-tp4702267p4702370.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list