[R] Restoring an S object that was data-dumped

Ravi Varadhan rvaradha at jhsph.edu
Tue Jan 20 18:05:08 CET 2004


Hi:

In R, how can I "data.restore" an object that was "data.dump"ed in 
Splus (I am not sure of the exact version, but probably Splus5)? 
When I use data.restore, I get the following error message (I am using 
R 1.7.0 on Windows)

> data.restore("n2.suicide")
Error in ReadSdump(TRUE, " ") : S 
mode "        "Netherlands", "Ireland", "Denmark", "Norway", " 
Sweden", "Finland"," (near byte offset 230) not supported
In addition: Warning message: 
NAs introduced by coercion 
> 

Thanks for any help,
Ravi.




More information about the R-help mailing list