[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] 'non-standard' folder names in R package
From:       "Tao Shi" <shitao () hotmail ! com>
Date:       2007-07-31 22:26:34
Message-ID: BAY120-F294A174803D02E5A5A97BAC7EF0 () phx ! gbl
[Download RAW message or body]

Oops, somehow I missed that part.  Thank you very much!

....Tao


>From: Uwe Ligges <ligges@statistik.uni-dortmund.de>
>To: Tao Shi <shitao@hotmail.com>
>CC: r-help@stat.math.ethz.ch
>Subject: Re: [R] 'non-standard' folder names in R package
>Date: Tue, 31 Jul 2007 11:52:10 +0200
>
>
>
>Tao Shi wrote:
>>Hi list,
>>
>>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!
>
>
>
>If you want it to be in mypackage/myXML after installation, put it into 
>mypackage/inst/myXML in the source package, as the manual you cited 
>suggests.
>
>Uwe Ligges
>
>
>
>
>>....Tao
>>
>>_________________________________________________________________
>>Need a brain boost? Recharge with a stimulating game. Play now!
>>
>>
>>------------------------------------------------------------------------
>>
>>______________________________________________
>>R-help@stat.math.ethz.ch 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.

______________________________________________
R-help@stat.math.ethz.ch 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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic