Skip to content

data compression in a package

4 messages · Terry Therneau, Dirk Eddelbuettel

#
The submission guide has the following cryptic (to me) sentence:
 ?? "Reasonable compression should be used for data (not just .rda files) "

The survival pacakge has a fairly large number of data files --- exactly what should I be 
doing??? xz compression?

Terry T.
#
On 29 December 2017 at 07:23, Therneau, Terry M., Ph.D. wrote:
| The submission guide has the following cryptic (to me) sentence:
|  ?? "Reasonable compression should be used for data (not just .rda files) "
| 
| The survival pacakge has a fairly large number of data files --- exactly what should I be 
| doing??? xz compression?

See help(save) and its ilk -- compression is on by default. So just sit back
and revel in how yet another task is already taken care of by R.

Dirk
#
On 12/29/2017 07:34 AM, Dirk Eddelbuettel wrote:
Ah -just a grammar issue.  I was reading it as "do good compression for your rda files and 
everthing else too", and your interpretation is "remember the other data (not just rda 
which is already taken care of)."  The survival package has about 2M of .rda files and 
2.2M of vignettes so I'm still under the 5M boundary, but R CMD check nags about it.

Terry T.
#
On 29 December 2017 at 07:59, Therneau, Terry M., Ph.D. wrote:
| which is already taken care of)."  The survival package has about 2M of .rda files and 
| 2.2M of vignettes so I'm still under the 5M boundary, but R CMD check nags about it.

The nags are genuinely irritating, especially as they are neither "inflation
adjusted" nor user-adjustable or suppressable (and I mentioned frequently how
Debian package checks allow us maintainers to control the latter part).

If I had penny for each warning I got for Rcpp, BH, ... being "large" I could
go off and (almost) buy a bitcoin.

Dirk