[Rd] Out-of-date manual or small bug in R CMD check?

From: Gabriel Becker <gmbecker_at_ucdavis.edu>
Date: Mon, 29 Aug 2011 15:37:48 -0700

ink1">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?

Thanks for all your hard work.


R version 2.13.1 (2011-07-08)
Platform: x86_64-pc-linux-gnu (64-bit)


 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
 [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
 [5] LC_MONETARY=C             LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C
 [9] LC_ADDRESS=C              LC_TELEPHONE=C


attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base

other attached packages:
[1] gridSVG_0.5-10 ProteinVis_0.4 latticeExtra_0.6-18
[4] RColorBrewer_1.0-2 lattice_0.19-33

Gabriel Becker
Graduate Student
Statistics Department
University of California, Davis

	[[alternative HTML version deleted]]

______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Mon 29 Aug 2011 - 22:49:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Tue 30 Aug 2011 - 02:00:25 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.

list of date sections of archive