[datatable-help] What is going on with R 3.1 ?

Michele carrieromichele at gmail.com
Thu Apr 17 18:26:55 CEST 2014


After installing R 3.1 all my tables crated in previous version of R have
lost their pointers
> attr(reads, ".internal.selfref")<pointer: (nil)>
*all* of them (tens of GB of .RData files). Instead a brand new dt shows:
> dt<-data.table(id=1:10)> attr(dt, ".internal.selfref")<pointer:
> 0x23caee8>
Guys please, what is going on? Has any of you seen this problem? I have in
both Win7 and Ubuntu 12.04. In Win I can easily downgrade but in Ubuntu I
was unable to manually install from source R3.0.2 (using also ubuntu since
only few weeks...).
R is very unstable now when using data.table. And I get errors I never seen,
like:
Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE neededError
in if (!missing(finally)) on.exit(finally) :   missing value where
TRUE/FALSE needed
Here and example:
*R 3.0.2*
> library(data.table)data.table 1.9.3  For help type: help("data.table")>
> set.seed(1)> dt <- data.table(id=1:5,var=c(rnorm(4L),NA))>
> saveRDS(dt,file="dt.RDS")> sessionInfo()R version 3.0.2
> (2013-09-25)Platform: x86_64-w64-mingw32/x64 (64-bit)locale:[1]
> LC_COLLATE=English_United Kingdom.1252 [2] LC_CTYPE=English_United
> Kingdom.1252   [3] LC_MONETARY=English_United Kingdom.1252[4] LC_NUMERIC=C                          
> [5] LC_TIME=English_United Kingdom.1252    attached base packages:[1]
> stats     graphics  grDevices utils     datasets  methods   base     other
> attached packages:[1] data.table_1.9.3loaded via a namespace (and not
> attached):[1] plyr_1.8.1     Rcpp_0.11.0    reshape2_1.2.2 stringr_0.6.2 
*R 3.1*
> library(data.table)data.table 1.9.3  For help type: help("data.table")> dt
> <- readRDS("dt.RDS")> dput(dt)structure(list(id = 1:5, var =
> c(-0.626453810742332, 0.183643324222082, -0.835628612410047,
> 1.59528080213779, NA)), .Names = c("id", "var"), row.names = c(NA, -5L),
> class = c("data.table", "data.frame"), .internal.selfref = <pointer:
> (nil)>)> sessionInfo()R version 3.1.0 (2014-04-10)Platform:
> x86_64-w64-mingw32/x64 (64-bit)locale:[1] LC_COLLATE=English_United
> Kingdom.1252 [2] LC_CTYPE=English_United Kingdom.1252   [3]
> LC_MONETARY=English_United Kingdom.1252[4] LC_NUMERIC=C                          
> [5] LC_TIME=English_United Kingdom.1252    attached base packages:[1]
> stats     graphics  grDevices utils     datasets  methods   base     other
> attached packages:[1] data.table_1.9.3loaded via a namespace (and not
> attached):[1] plyr_1.8.1     Rcpp_0.11.1    reshape2_1.2.2 stringr_0.6.2 
Unfortunately I can't reproduce an example when I get the error:
Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE needed
I'll try again. It's very unstable and I get different results time to time.
The ONLY thing that is in common when I get an error is the nil pointer in R
3.1
Thanks a million in advance,
Michele




--
View this message in context: http://r.789695.n4.nabble.com/What-is-going-on-with-R-3-1-tp4689002.html
Sent from the datatable-help mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140417/f9b4215a/attachment.html>


More information about the datatable-help mailing list