Ron Burns wrote:
Hi all-

Is there an R function that returns the directory in which a package has been installed?

Thanks
        Ron


?system.file

For example:

> system.file(package="DistributionUtils")
[1] "C:/Users/dsco036/R/win-library/2.10/DistributionUtils"


David Scott
--
_________________________________________________________________
David Scott     Department of Statistics
                The University of Auckland, PB 92019
                Auckland 1142,    NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email:  d.sc...@auckland.ac.nz,  Fax: +64 9 373 7018

Director of Consulting, Department of Statistics

______________________________________________
R-help@r-project.org 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.

Reply via email to