On Tue, 11-Mar-2008 at 10:51PM +0800, Ng Stanley wrote: |> Hi, |> |> I am running R on a cluster. Basic packages are installed at |> ~/MyHome/lib64/R/library/ and add-ons packages are installed at |> ~/R/x86_64-redhat-linux-gnu-library/2.5/. Both directories were created by R |> by default. |> |> Problems arises when I use add-on packages, R complains that they can't be |> found and exit. As a hack, I copied the add-on packages to where basic |> packages are installed. |> |> Questions: |> A) Can I specify where the add-on packages should be installed, and how ? I |> would like to install them at where the basic packages are.
Do you have an environment setting for R_LIBS? I use that to put them in a *different* place from where the basic packages go, so my guess is that if you set that variable to be the same, that would do what you want. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Middle minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Anon ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ______________________________________________ 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.