[R] Migrating .RData from Windows to Linux?

Marc Schwartz marc_schwartz at comcast.net
Fri Feb 16 16:46:29 CET 2007


On Fri, 2007-02-16 at 16:32 +0100, Derek Eder wrote:
> I want to begin a migration of R workspaces from Windows to Ubuntu Linux.
> 
> (1)  Can someone suggest the most appropriate path?
>       dump()  ?
>       save()  ?
> 
> (2)  Are there any R platform migration related resources "out there"?
>       (I have not found any yet).
> 
> Thank you,

The easiest way is to use save() (or even save.image()) then load().

>From the Details section in ?save:

All R platforms use the XDR representation of binary objects in binary
save-d files, and these are portable across all R platforms. (ASCII
saves used to be useful for moving data between platforms but are now
only of historical interest.)


Beyond that, you should review the R Installation and Administration
manual, which is available in your installation or on CRAN.  That will
cover platform specific issues.

HTH,

Marc Schwartz



More information about the R-help mailing list