On 9/15/2008 10:18 AM, Ernest Turro wrote:
How should one go about including data files for use by some C function in an R package? The data subdirectory is for additional data files the package makes available for loading from R, not C, and including the files in some other directory is no good because non- standard directories are removed when building the package.

Nonstandard directories in the "inst" subdir are moved up one level and kept, so that's the place to put stuff like this.

e.g. packagesrc/inst/foo becomes package/foo when the package is installed.

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to