How to save a VERY LARGE .rda file in R package -
I'm eager to save two 460 x 5000 numeric matrix in my R-package. Following the instructions given in: I saved the object as:
save save (mat1, file = "mat1.rda", compress = "xz") (mat2 , File = "mat2.rda" However, the resulting R-objects are large (8.7 MB and 8.9 MB) and RMD checks - AS-Crane gives me notes: * Install package Check the size ... Note The installed size is 20.1Mb sub-directory of 1Mb or more: Data 20.0Mb In my understanding, no R package should be given to CRAN Can not access that which does not "pass" (i.e., no notes or warnings) RCMD checkle-as-crane. Is there a way to reduce dataset?
Is it really necessary to include those files? I see several options:
- A small matrix Include subsets, which you use in instances.
- Generate on-the-mike matrix, e.g., random number Keep up with.
- somewhere to download the files, and do not make sure that the examples performed.
Comments
Post a Comment