<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>