Re: [Rd] uncompressed saves warning

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Wed, 21 Mar 2012 18:22:44 +0100

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

Michael,

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

Best,
uwe



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 21 Mar 2012 - 17:25:07 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 Thu 22 Mar 2012 - 13:10:34 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