[Rd] Preferred way to include internal data in package?

Keirstead, James E j.keirstead at imperial.ac.uk
Mon Aug 4 18:11:00 CEST 2014


I saw that, but actually I was wondering if there was a more general method.  I’d like to use plain text files if I can, instead of Rda files, since they’re easier to maintain (and it’s a small file).

On 4 Aug 2014, at 16:30, Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:

>> I’m developing a package and would like to include some data sets for internal use only, e.g. configuration parameters for functions.  What is the preferred way of doing this?  If I put them in data/, then R CMD check asks me to document them but I’d prefer it if they floated beneath the surface, without the users awareness.
> 
> Perhaps in sysdata.rda. See "Writing R Extensions".



More information about the R-devel mailing list