After installing R 3.1 all my tables crated in previous version of R have lost their pointers

<pre>
> attr(reads, ".internal.selfref")
<pointer: (nil)>
</pre>

<p><b>all</b> of them (tens of GB of .RData files). Instead a brand new dt shows:</p>

<pre>
> dt<-data.table(id=1:10)
> attr(dt, ".internal.selfref")
<pointer: 0x23caee8>
</pre>

<p>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...).</p>

<p>R is very unstable now when using data.table. And I get errors I never seen, like:</p>

<pre>
Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE needed
Error in if (!missing(finally)) on.exit(finally) : 
  missing value where TRUE/FALSE needed
</pre>

<p>Here and example:</p>

<p><b>R 3.0.2</b></p>

<pre>
> 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.3

loaded via a namespace (and not attached):
[1] plyr_1.8.1     Rcpp_0.11.0    reshape2_1.2.2 stringr_0.6.2 
</pre>

<p><b>R 3.1</b></p>

<pre>
> 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.3

loaded via a namespace (and not attached):
[1] plyr_1.8.1     Rcpp_0.11.1    reshape2_1.2.2 stringr_0.6.2 
</pre>

<p>Unfortunately I can't reproduce an example when I get the error:</p>
<pre>
Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE needed
</pre>

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


<p>Thanks a million in advance,</p>

<p>Michele</p>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://r.789695.n4.nabble.com/What-is-going-on-with-R-3-1-tp4689002.html">What is going on with R 3.1 ?</a><br/>
Sent from the <a href="http://r.789695.n4.nabble.com/datatable-help-f2315188.html">datatable-help mailing list archive</a> at Nabble.com.<br/>