Sure, makes sense. Could you please file an issue here: 
https://github.com/Rdatatable/data.table/issues

Thanks!

-- 
Arun

On 29 August 2016 at 04:33:43, Zachary O'Keeffe ([email protected]) wrote:

Hello,

While creating many transformed versions of variables in and outside of loops, 
I've been seeing this error lately:

Error in set(MapYrCtyAllGradeMiAreaPopSt, NULL, 
"StYearHwyMiGradeAllLogPerStPop",  : 
  Internal logical error. DT passed to assign has not been allocated enough 
column slots. l=100, tl=100, adding 1

I found out to resolve it from this Stack Overflow post:
https://stackoverflow.com/questions/29615181/r-warning-when-creating-a-long-list-of-dummies

Which directed me to the alloc.col help page. I mainly wanted to write to 
suggest making the error a bit more informative/helpful, e.g. directing the 
user to look at alloc.col/trulength help page.

Also, I was wondering if you could explain why I ran into the error using 
set(), but not :=?

Thanks,

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

Reply via email to