[R] error message: ReadItem: unknown type 64, perhaps written by later version of R

Franckx Laurent laurent.franckx at vito.be
Thu Mar 5 21:34:09 CET 2015


Dear all

I get the following error message when I try to load one  specific RData object in R:

        Error: ReadItem: unknown type 64, perhaps written by later version of R


The error message is odd because (a) this RData object was created just one hour berfore in a  previous script (in a series of R scripts called in batch mode), so it would seem to me that it has been created by the same version of R that is now calling it (b) this script is "looping" over several scenarios and years, and the error only occurs for one very specific combination of scenarios and years. This object is about 6 Gb large, which is the same  size as the other objects that were called in previous instances.

I load the RData with the following command (where pathsony[[rdata]] is the folder with the RData and skimlistrdata is the file I try to load):

        load( file.path(pathsony[[rdata]],skimlistrdata))


The problem occurs both when I run the script in batch mode or when I run it interactively.

I use a  "x86_64-pc-linux-gnu" and  "R version 3.1.2 (2014-10-31)".


Laurent Franckx, PhD
Senior researcher sustainable mobility
VITO NV | Boeretang 200 | 2400 Mol
Tel. ++ 32 14 33 58 22| mob. +32 479 25 59 07 | Skype: laurent.franckx | laurent.franckx at vito.be | Twitter @LaurentFranckx




VITO Disclaimer: http://www.vito.be/e-maildisclaimer



More information about the R-help mailing list