[R-pkg-devel] How to store large data to be used in an R package?

Jairo Hidalgo Migueles j@|ro@h|d@|go@m|gue|e@ @end|ng |rom gm@||@com
Mon Mar 25 11:12:57 CET 2024


Dear all,

I'm reaching out to seek some guidance regarding the storage of relatively
large data, ranging from 10-40 MB, intended for use within an R package.
Specifically, this data consists of regression and random forest models
crucial for making predictions within our R package.

Initially, I attempted to save these models as internal data within the
package. While this approach maintains functionality, it has led to a
package size exceeding 20 MB. I'm concerned that this would complicate
submitting the package to CRAN in the future.

I would greatly appreciate any suggestions or insights you may have on
alternative methods or best practices for efficiently storing and accessing
this data within our R package.

Jairo

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list