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

Zachary O'Keeffe zach.okeeffe at gmail.com
Fri Feb 23 09:58:19 CET 2018


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 <zach.okeeffe at gmail.com>
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 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(psimod$residuals), 6L)) :
>   Internal error, please report (including result of sessionInfo()) to
> datatable-help: oldtncol (0) < oldncol (3) but tl of class is marked.
>
> Session info:
>
> R version 3.3.3 (2017-03-06)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: CentOS Linux 7 (Core)
>
> locale:
>  [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
>  [5] LC_MONETARY=en_US.utf8    LC_MESSAGES=en_US.utf8
>  [7] LC_PAPER=en_US.utf8       LC_NAME=C
>  [9] LC_ADDRESS=C              LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] parallel  stats     graphics  grDevices utils     datasets  methods
> [8] base
>
> other attached packages:
> [1] ggplot2_2.2.1     doMC_1.3.5        iterators_1.0.9   foreach_1.4.4
> [5] bit64_0.9-7       bit_1.1-12        data.table_1.10.5
>
> loaded via a namespace (and not attached):
>  [1] Rcpp_0.12.15     codetools_0.2-15 grid_3.3.3       plyr_1.8.4
>  [5] gtable_0.2.0     scales_0.5.0     pillar_1.1.0     rlang_0.1.6
>  [9] lazyeval_0.2.1   munsell_0.4.3    colorspace_1.3-2 tibble_1.4.2
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20180223/76cdc79f/attachment.html>


More information about the datatable-help mailing list