[Rd] RAW types not restored from Rda files (PR#7812)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Apr 25 10:12:22 CEST 2005


ellis at 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 at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list