From p.dalgaard at biostat.ku.dk  Mon Apr 25 12:08:17 2005
From: p.dalgaard at biostat.ku.dk (p.dalgaard@biostat.ku.dk)
Date: Mon Apr 25 12:08:24 2005
Subject: [Rd] RAW types not restored from Rda files (PR#7812)
Message-ID: <20050425100817.19089A21F@slim.kubism.ku.dk>

Byron Ellis <ellis@stat.harvard.edu> writes:

> There's an endian difference, but other than that our results are
> identical:
> 
> 0000000     5244    5832    0a58    0a00    0000    0200    0202    0000
> 0000020     0104    0000    0004    0200    0000    0100    0010    0900
> 0000040     0000    0178    0000    0018    0000    0005    0000    0000
> 0000060     0000    0000    fe00
> 0000065
> 
> I updated from SVN and checked that as well, no luck. I'm a wee bit
> suspicious of saveload.c, which doesn't seem to know anything about
> RAWSXP at all.

....

> > $ od -x x.Rda
> > 0000000 4452 3258 580a 000a 0000 0002 0202 0000
> > 0000020 0401 0000 0400 0002 0000 0001 1000 0009
> > 0000040 0000 7801 0000 1800 0000 0500 3231 3433
> > 0000060 0035 0000 00fe
> > 0000065

Look closer! The "payload" is the five bytes around 0000060 and they
don't seem at all similar to me. So save() is to blame.

BTW, I'm redirecting this back to R-bugs. It is not a good idea to
take this kind of stuff to private email, for various good reasons in
general, but particularly so in this case since I don't run OSX!

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907


[Rd] RAW types not restored from Rda files (PR#7812)
p.dalgaard@biostat.ku.dk