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

ripley at stats.ox.ac.uk ripley at stats.ox.ac.uk
Mon May 14 13:13:45 CEST 2007


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

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

On Fri, 11 May 2007, frederic.gosselin at cemagref.fr wrote:

> Full_Name: frédéric Gosselin
> Version: 2.5 & 2.2.1
> OS: windows XP pro
> Submission from: (NULL) (195.221.118.52)
>
>
> (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,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
--27464147-1671525898-1179141186=:28940--



More information about the R-devel mailing list