[Rd] Referencing 'inst' directory in installed package

Mehmet Suzen msuzen at mango-solutions.com
Wed Aug 17 18:04:49 CEST 2011

You can use
which will return you library directory.

-----Original Message-----
From: r-devel-bounces at r-project.org
[mailto:r-devel-bounces at r-project.org] On Behalf Of Jonathan Malmaud
Sent: 17 August 2011 04:18
To: r-devel at r-project.org
Subject: [Rd] Referencing 'inst' directory in installed package

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? 

Jon Malmaud
R-devel at r-project.org mailing list
This message is intended for the use o...{{dropped:10}}

More information about the R-devel mailing list