> system.file()
[1] "/Library/Frameworks/R.framework/Resources/library/base"
There is much else that you can do with system.file(),
e.g.
> system.file("misc/ViewTemps.RData", package="DAAG")
[1]
"/Library/Frameworks/R.framework/Resources/library/DAAG/misc/ViewTemps.RData"
On windows systems, you might want to use normalizepath() as a wrapper.
Cheers
John.
John Maindonald email: [email protected]
phone : +61 2 (6125)3473 fax : +61 2(6125)5549
Centre for Mathematics & Its Applications, Room 1194,
John Dedman Mathematical Sciences Building (Building 27)
Australian National University, Canberra ACT 0200.
http://www.maths.anu.edu.au/~johnm
On 04/02/2011, at 12:30 PM, Murray Jorgensen wrote:
> On my PC I can find my R package files under
> C:\apps\R\R-2.12.1\library
> (we seem to have a local tradition here to use 'apps' rather than 'Program
> Files').
>
> I think I have done a fairly standard R install on my Mac. Where might I
> expect the package files to be?
>
> Cheers, Murray
>
> --
> Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
> Department of Statistics, University of Waikato, Hamilton, New Zealand
> Email: [email protected] [email protected] Fax 7 838 4155
> Phone +64 7 838 4773 wk Home +64 7 825 0441 Mobile 021 0200 8350
>
> _______________________________________________
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac