I want to save two 460 x 5000 numeric matrices in my R-packet. Following the instructions in:
How to efficiently deal with uncompressed savings when checking packages? I saved the objects as:
save(mat1,file="mat1.rda",compress="xz")
save(mat2,file="mat2.rda",compress="xz")
However, the resulting R-objects are quite large (8.7MB and 8.9 MB), and R CMD CHECK --as-cran gives me notes:
* checking installed package size ... NOTE
installed size is 20.1Mb
sub-directories of 1Mb or more:
data 20.0Mb
In my opinion, you cannot send R packets to a CRAN that does not “pass” (that is, there is no note or warning). R CMD CHECL --as-cran. Is there a way to compress a dataset even less?
source
share