[R] 'non-standard' folder names in R package
shitao at hotmail.com
Mon Jul 30 22:32:27 CEST 2007
I use a .xml file for a function's demo in the R package I'm creating.
Since it doesn't belong to any of the 'standard' folders, i.e. those
mentioned in the 'Writing R Extension', I put it in a folder call "myXML",
much like the 'iris.xl' file in 'xls' folder from 'gdata' package, for
example. After running R CMD build, I could see the .xml file is in the
..tar.gz file. However, after running R CMD INSTALL -build, the file and the
folder disappeared in both the .zip file and the installed package. (R CMD
CHECK, of course, failed too before that, as "myXML" can't be installed.)
Could anybody tell me what's the tricks to keep those folders in my
installation? I'm using R-2.5.1 under WinXP.
Thank you very much!
Need a brain boost? Recharge with a stimulating game. Play now!
More information about the R-help