[R-SIG-Mac] Local level packages not in path
James
jctoll at gmail.com
Tue Apr 24 15:56:56 CEST 2007
On Apr 23, 2007, at 9:53 PM, Kasper Daniel Hansen wrote:
> There are various ways. The best is probably to use
> ~/.Rprofile
> which is an R script executed when you start R. In your case it
> should contain something like
> .libPaths("~/Library/R/library")
>
> You can also use the environment variable
> R_LIBS
> but that is more problematic to set for a GUI, or you can use the file
> ~/.Renviron
> for setting a collection of environment variables, but these
> variables are not used when you do
> R CMD BATCH
> which I personally find irritating, but I assume there is a use case.
>
> Kasper
Thanks for this information. I'll keep working at it.
James
More information about the R-SIG-Mac
mailing list