On Feb 8, 2008, at 7:23 AM, Quan Li wrote:
> Hello,
>
> I had a rookie question. I can load add-on packages in R but cannot
> do so when R is run from within Aquamacs. The error message says
> "there is no package labeled "lattice"", for example. All my
> packages are stored in R's library. Any help on this is much
> appreciated.
My guess is that you are wrong and that your packages are stored
elsewhere (than the system library which is /Library/Frameworks/
R.framework/Resources/library. A good guess would be ~/Library/R. You
can check this using
R> installed.packages()
A way to fix this is to make a ~/.Rprofile file containing, sat
.libPaths("~/Library/R")
Kasper
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac