Cross-platform saves [was Re: [R] sas data sets]

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Feb 4 16:52:14 CET 2000


On 4 Feb 2000, Douglas Bates wrote:

> Jonathan.Yuen at evp.slu.se writes:
> 
> > I haven't had a chance to try, but how does R do cross platform?
> 
> There is an R ASCII save format that can be used to transport R
> objects across architectures.  See
>  help(save)

However, on almost all platforms (even Windows), R uses xdr for its binary
saves, and so is platform-independent.  It certainly works across Windows,
i686-linux and sparc-solaris, and they cover both endian conventions.

(SAS predates xdr and indeed common floating point formats, maybe
floating-point formats, period.)


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