[Rd] uncompressed saves warning

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Mar 21 18:22:44 CET 2012

On 21.03.2012 14:58, Michael Friendly wrote:
> [Env: Windows XP Pro / R 2.14.1 / StatET / R-Forge]
> A package of mine now generates a Warning under R 2.15.0 beta on CRAN
> checks:
> * checking data for ASCII and uncompressed saves ... WARNING
> Note: significantly better compression could be obtained
> by using R CMD build --resave-data
> old_size new_size compress
> gfrance.rda 300Kb 179Kb xz
> gfrance85.rda 295Kb 176Kb xz
> What is the equivalent R command to compress these files in my project
> tree?


if you use
R CMD build --resave-data
to build the tar archive, the versions therein are recompressed.

Otherwise, you can also open the files and resave them via save() and 
appropriate arguments.

Or use  resaveRdaFiles() in package tools to runn it on a whole folder 


More information about the R-devel mailing list