[R] .RData signature

stephenb stenka1 at go.com
Tue Jul 14 05:02:13 CEST 2009


any ideas? has anybody tried to recover RData files before?




Duncan Murdoch-2 wrote:
> 
> On 7/13/2009 3:38 PM, stenka1 at go.com wrote:
>>    Is there a way to identify the beginning and end of an .RData file?
>>    I am trying to restore lost files on opensolaris where the table of
>> contents
>>    is overwritten and will be reading the raw disk byte by byte.
>>    I looked at several files in hex and the end seems different, while
>> most of
>>    them, but not all begin with RDX2.X
> 
> No, there is nothing special written at the end of a file.  Many .RData 
> files are compressed (by internal gzip), so the RDX2 header is hidden, 
> and you'll see bytes 1F 8B instead.  (I don't think we write the trailer 
> bytes on the gzip stream, but I'm not sure about that.)
> 
> Duncan Murdoch
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/.RData-signature-tp24468047p24472875.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list