[datatable-help] using set to create a large date vector converted to factor

2016-08-13 Thread Zachary O'Keeffe
Hello, I'm a huge fan of data.table and use it almost exclusively. I've not used this mailing list before, but I signed up to report an error I encountered because the error message asked me to. I have a fairly large data.table (480,000 rows) with over 6,000 unique dates. I can create a factor ve

[datatable-help] allocation error

2016-08-28 Thread Zachary O'Keeffe
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.

[datatable-help] unable to use set to assign vector

2018-02-21 Thread Zachary O'Keeffe
Hello. Not sure why this is occurring, but I cannot assign a vector to a 594,818 row, 3-column data.table using set. My only guess is that it has something to do with the fact that it was loaded from readRDS? := worked with the same vector. Error: Error in set(dat, NULL, "psi", round(as.numeric(p

Re: [datatable-help] unable to use set to assign vector

2018-02-23 Thread Zachary O'Keeffe
Never mind, I read about this being an issue with readRDS. := or alloc.col solves it. On Thu, Feb 22, 2018 at 12:54 AM, Zachary O'Keeffe wrote: > Hello. Not sure why this is occurring, but I cannot assign a vector to a > 594,818 row, 3-column data.table using set. My only guess is