[R] incompatibilities between 0.90 and 0.99?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Tue Feb 22 08:22:46 CET 2000


On Mon, 21 Feb 2000, Ramon Diaz-Uriarte wrote:

> Maybe this is dumb, but I seem to be having problems reading a file saved in R
> v. 0.99 into  R 0.90.1 (in a different machine).  
> 
> I did 
> 
> >save(test1, file="test1.RData")
> 
> then I tried to read that data file in R 0.90.1:
> 
> >load("test1.RData")
> Error in load("test1.RData") : restore file corrupted -- no data loaded
> 
> More info:
> - both machines are running Linux; 
> - things work the other way around (i.e., use save in 0.90.1 and load in 0.99); 
> - things do not improve if I save as ascii;
> - I get the problem even with a simple vector;
> - (Things work, though, if I save the data frame with write.table, and then
> use read.table).

Look at the NEWS, which says, right at the top,

    o   The format for save/load has been changed. Workspaces and
        objects saved in earlier versions can be loaded into this
        version, but not conversely. Use save() or save.image() with
        argument oldstyle=TRUE to save in the old format if you need to.

The new format is unknown to the older versions.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list