<div dir="ltr">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.<div><br></div><div>Error:</div><div><br></div><div><div>Error in set(dat, NULL, "psi", round(as.numeric(psimod$residuals), 6L)) : </div><div>  Internal error, please report (including result of sessionInfo()) to datatable-help: oldtncol (0) < oldncol (3) but tl of class is marked.</div></div><div><br></div><div>Session info:</div><div><br></div><div><div>R version 3.3.3 (2017-03-06)</div><div>Platform: x86_64-pc-linux-gnu (64-bit)</div><div>Running under: CentOS Linux 7 (Core)</div><div><br></div><div>locale:</div><div> [1] LC_CTYPE=en_US.utf8  Â  Â  Â LC_NUMERIC=C  Â  Â  Â  Â  Â  Â </div><div> [3] LC_TIME=en_US.utf8  Â  Â  Â  LC_COLLATE=en_US.utf8  Â Â </div><div> [5] LC_MONETARY=en_US.utf8  Â  LC_MESSAGES=en_US.utf8  Â </div><div> [7] LC_PAPER=en_US.utf8  Â  Â  Â LC_NAME=C  Â  Â  Â  Â  Â  Â  Â Â </div><div> [9] LC_ADDRESS=C  Â  Â  Â  Â  Â  Â  LC_TELEPHONE=C  Â  Â  Â  Â  Â </div><div>[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C  Â  Â Â </div><div><br></div><div>attached base packages:</div><div>[1] parallel  stats  Â  Â graphics  grDevices utils  Â  Â datasets  methods  </div><div>[8] base  Â  Â </div><div><br></div><div>other attached packages:</div><div>[1] ggplot2_2.2.1  Â  Â doMC_1.3.5  Â  Â  Â  iterators_1.0.9  Â foreach_1.4.4  Â Â </div><div>[5] bit64_0.9-7  Â  Â  Â bit_1.1-12  Â  Â  Â  data.table_1.10.5</div><div><br></div><div>loaded via a namespace (and not attached):</div><div> [1] Rcpp_0.12.15  Â  Â codetools_0.2-15 grid_3.3.3  Â  Â  Â plyr_1.8.4  Â  Â Â </div><div> [5] gtable_0.2.0  Â  Â scales_0.5.0  Â  Â pillar_1.1.0  Â  Â rlang_0.1.6  Â  Â </div><div> [9] lazyeval_0.2.1  Â munsell_0.4.3  Â  colorspace_1.3-2 tibble_1.4.2  Â Â </div><br></div><div><br></div></div>