[Rd] Out-of-date manual or small bug in R CMD check?
wdunlap at tibco.com
Wed Aug 31 00:05:00 CEST 2011
> -----Original Message-----
> From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-project.org] On Behalf Of Duncan Murdoch
> Sent: Monday, August 29, 2011 5:30 PM
> To: Gabriel Becker
> Cc: r-devel at r-project.org
> Subject: Re: [Rd] Out-of-date manual or small bug in R CMD check?
> On 11-08-29 6:37 PM, Gabriel Becker wrote:
> > Hey all,
> > I get a warning about an unsupported file type in the data directory during
> > R CMD check (for R 2.13.1) if I use the save function to create an Rdata,
> > but if I save the same object to a .rda file, no warning.
> > Section 1.1.5 (pg 11 of the pdf) of the Writing R Extensions manual (2.13.1)
> > appears to say that .Rdata files should be fine:
> > " Data files can have one of three types as indicated by their extension:
> > plain R code ('.R' or
> > '.r'), tables ('.tab', '.txt', or '.csv', see ?data for the file formats,
> > and note that '.csv' is not
> > the standard14 CSV format), or save() images ('.RData' or '.rda'). "
> > Am I misunderstanding some difference between .rda and .Rdata files in terms
> > of the save calls, or should R CMD check and the extensions manual agree on
> > this?
> .RData and .Rdata aren't the same.
Should that paragraph say that capitalization matters and that the following
file name extensions are recognized
(and that others that vary only by case, such as TAB, Rdata and Rda, are not)?
Spotfire, TIBCO Software
> Duncan Murdoch
> > Thanks for all your hard work.
> > ~G
> > SessionInfo:
> > R version 2.13.1 (2011-07-08)
> > Platform: x86_64-pc-linux-gnu (64-bit)
> > locale:
> >  LC_CTYPE=en_US.utf8 LC_NUMERIC=C
> >  LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
> >  LC_MONETARY=C LC_MESSAGES=en_US.utf8
> >  LC_PAPER=en_US.utf8 LC_NAME=C
> >  LC_ADDRESS=C LC_TELEPHONE=C
> >  LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
> > attached base packages:
> >  grid stats graphics grDevices utils datasets methods
> >  base
> > other attached packages:
> >  gridSVG_0.5-10 ProteinVis_0.4 latticeExtra_0.6-18
> >  RColorBrewer_1.0-2 lattice_0.19-33
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> R-devel at r-project.org mailing list
More information about the R-devel