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

From: <ripley_at_stats.ox.ac.uk>
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.

--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--

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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 https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.