<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Sure, makes sense. Could you please file an issue here: <a href="https://github.com/Rdatatable/data.table/issues">https://github.com/Rdatatable/data.table/issues</a></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks!</div> <br> <div id="bloop_sign_1472578741848497920" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Arun</div></div> <br><p class="airmail_on">On 29 August 2016 at 04:33:43, Zachary O'Keeffe (<a href="mailto:zach.okeeffe@gmail.com">zach.okeeffe@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>


<title></title>


<div dir="ltr">Hello,
<div><br></div>
<div>While creating many transformed versions of variables in and
outside of loops, I've been seeing this error lately:</div>
<div><br></div>
<div>
<div>Error in set(MapYrCtyAllGradeMiAreaPopSt, NULL,
"StYearHwyMiGradeAllLogPerStPop",  : </div>
<div>  Internal logical error. DT passed to assign has not
been allocated enough column slots. l=100, tl=100, adding 1</div>
</div>
<div><br></div>
<div>I found out to resolve it from this Stack Overflow post:</div>
<div><a href="https://stackoverflow.com/questions/29615181/r-warning-when-creating-a-long-list-of-dummies">
https://stackoverflow.com/questions/29615181/r-warning-when-creating-a-long-list-of-dummies</a><br>
</div>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>Also, I was wondering if you could explain why I ran into the
error using set(), but not :=?</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Zach</div>
</div>


_______________________________________________
<br>datatable-help mailing list
<br>datatable-help@lists.r-forge.r-project.org
<br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</div></div></span></blockquote></body></html>