[Rd] Out-of-date manual or small bug in R CMD check?
murdoch.duncan at gmail.com
Tue Aug 30 02:30:22 CEST 2011
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
.RData and .Rdata aren't the same.
> Thanks for all your hard work.
> R version 2.13.1 (2011-07-08)
> Platform: x86_64-pc-linux-gnu (64-bit)
>  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
More information about the R-devel