Re: [Rd] (PR#9676) dump function and compatibility of .RData files

From: <>
Date: Mon, 14 May 2007 13:13:45 +0200 (CEST)

  This message is in MIME format. The first part should be readable text,   while the remaining parts are likely unreadable without MIME-aware tools.

Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT

On Fri, 11 May 2007, wrote:

> Full_Name: frédéric Gosselin
> Version: 2.5 & 2.2.1
> OS: windows XP pro
> Submission from: (NULL) (
> (i) I cannot read .Rdata saved with R2.5 with R2.2.1. I think it was the same
> with R2.4 vs R2.2.1.

If you use new features in 2.5.0 (sic) then that is not a bug. We do not claim forwards compatibility of formats (that is that R 2.2.1 can read files written in later versions of R). Without a reproducible example there is nothing more to add.

> (ii) I have found the strange following problem, using the dump function:
> dump(ls(),"text.txt")
> in the text.txt file, there are a lot of "L" added at the end of
> numbers, particularly in the .Dim attributes. This makes the file
> undreadable (at least in R2.2.1 but alos probably in S-Plus...)

Please do read the help page: it points you to ?.deparseOpts for options for backwards and S-PLUS compatibility. The file is readable in R >= 2.5.0 and moreover is a more accurate representation than before.

> I do not know in which respect both potential bugs are related.

Only in that the same user misunderstood both.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon 14 May 2007 - 11:21:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 May 2007 - 11:33:57 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.