[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
system.file(package="your_package_name")
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
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 Malmaud
______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
LEGAL NOTICE
This message is intended for the use o...{{dropped:10}}
More information about the R-devel
mailing list