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