You put it into a subdirectories of inst, like
  PACKAGENAME/inst/extdata
which gets install to
  PACKAGENAME/extdata

See R-extentions.

Kasper

On Fri, Aug 24, 2012 at 1:32 PM, David L Lorenz <lor...@usgs.gov> wrote:

>   The utils package has a misc folder, and some other packages have
> folders that are not listed in the R-extensions documentation (?data?, ?
> demo?, ?exec?, ?inst?, ?man?, ?po?, ?src?, and ?tests?). I'd like to be
> able to put some ancillary data into a misc folder, but it's mere presence
> in the source folder or source tarball (created with R CMD build) does not
> mean that it gets put into the zip file (I'm using Windoze) for the
> package.
>   How do I get an extra, nonstandard subdirectory into a package?
>   Thanks.
> Dave
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]

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

Reply via email to