[datatable-help] allocation error

Arunkumar Srinivasan aragorn168b at gmail.com
Tue Aug 30 19:39:29 CEST 2016


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 (zach.okeeffe at gmail.com) 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  
datatable-help at lists.r-forge.r-project.org  
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20160830/4282e49b/attachment.html>


More information about the datatable-help mailing list