Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Mehmet Suzen
bject: [Rd] Referencing 'inst' directory in installed package Hi, My R package has files in the 'inst' directory that it needs to reference. How can the R scripts in my package find out the full path to the 'inst' directory after the package is installed, given that differ

Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Dirk Eddelbuettel
On 16 August 2011 at 23:17, Jonathan Malmaud wrote: | Hi, | My R package has files in the 'inst' directory that it needs to reference. How can the R scripts in my package find out the full path to the 'inst' directory after the package is installed, given that different users may have installed

Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Marc Schwartz
On Aug 16, 2011, at 10:17 PM, Jonathan Malmaud wrote: > Hi, > My R package has files in the 'inst' directory that it needs to reference. > How can the R scripts in my package find out the full path to the 'inst' > directory after the package is installed, given that different users may have > i

Re: [Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Kasper Daniel Hansen
On Tue, Aug 16, 2011 at 11:17 PM, Jonathan Malmaud wrote: > Hi, > My R package has files in the 'inst' directory that it needs to reference. > How can the R scripts in my package find out the full path to the 'inst' > directory after the package is installed, given that different users may have

[Rd] Referencing 'inst' directory in installed package

2011-08-17 Thread Jonathan Malmaud
Hi, My R package has files in the 'inst' directory that it needs to reference. How can the R scripts in my package find out the full path to the 'inst' directory after the package is installed, given that different users may have installed the package to different libraries? Thanks, Jon Malmau