An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100618/0468ee61/attachment.pl>
How to add example data to R package
2 messages · wenjun zheng, Uwe Ligges
1 day later
On 18.06.2010 13:57, wenjun zheng wrote:
Dear R Users,
I want to add an data in raw type to my package, so it can not be
loading by data(), and if I put it in the 'data' subdirectory, it will be
missed after the package built.
No, it should stay there, but you have to say ZipData: no in your DESCRIPTION file in order to avoid it being zipped up when the binary package is built. If you want to put it somewhere else, use the ./inst directory of the source package. For more details see the manual "Writing R Extensions". Uwe Ligges
How to put a raw data into a package?
>
Any suggestions will be appreciated.