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

Prof Brian D Ripley ripley at
Fri Feb 4 16:52:14 CET 2000

On 4 Feb 2000, Douglas Bates wrote:

> Jonathan.Yuen at 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
Professor of Applied Statistics,
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
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list