Skip to content
Prev 769 / 12125 Next

[R-pkg-devel] Scripts to generate data objects

Hello,

What is the best way of keeping R scripts that are used to generate the data files in the data/ folder? These are not meant to be available to the user, but I would like to keep them in the package itself. Right now I am storing them inside data/, for example PKG/data/datasetone.R to create PKG/data/dataseton.RData, and then adding those R files to .Rbuildignore.

Are there any other sensible ways of doing this?

Thanks,


Iago