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.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to