Skip to content
Prev 25977 / 63424 Next

RData File Specification?

On Fri, 24 Aug 2007, Simon Urbanek wrote:

            
I don't think XDR for doubles is 'quite trivial': it is if your native 
format is the conventional IEC60559 representation (when all you have to 
worry about is byte order), but not in general.  (Some of us remember 
interworking with Vaxen, for example.)

Note that the format is not actually claimed to be XDR: ?save says

      All R platforms use the XDR representation of binary objects in
      binary save-d files, and these are portable across all R
      platforms.

That was probably written before RAWSXPs, but it is not claiming that 
character strings are written in XDR.  (RFC 1832 seems to expect ASCII 
character strings, so XDR string format would be a pain to use.)

[...]