From p.dalgaard at biostat.ku.dk  Mon Apr 25 10:12:22 2005
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Mon Apr 25 10:12:31 2005
Subject: [Rd] RAW types not restored from Rda files (PR#7812)
In-Reply-To: <20050425075523.42D7EA1DB@slim.kubism.ku.dk>
References: <20050425075523.42D7EA1DB@slim.kubism.ku.dk>
Message-ID: <x2pswjl1g9.fsf@turmalin.kubism.ku.dk>

ellis@stat.harvard.edu writes:

> Full_Name: Byron Ellis
> Version: 2.1.0
> OS: OS X
> Submission from: (NULL) (67.124.246.46)
> 
> 
> > x = charToRaw("12345")
> > x
> [1] 31 32 33 34 35
> > save(x,file="x.Rda")
> > rm(x)
> > load("x.Rda")
> > x
> [1] 00 00 00 00 00
> 
> Thats no fun.

It's not happening to me though (with R-devel). Can you do a hex dump
of the x.Rda file so that we can see whether the load or the save is
failing? As in

$ 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



-- 
   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)
Peter Dalgaard