[R] Tell R where to look locally for library?

David Winsemius dwinsemius at comcast.net
Mon Jun 20 20:48:25 CEST 2011


On Jun 20, 2011, at 2:38 PM, Idris Raja wrote:

> I have R library's installed in several places on my windows machine.
>
> They are in:
>
> 1) C:\Program Files\R\R-2.12.2\library
> 2) C:\Users\MyUser\Documents\R\win-library\2.12
>
> I can access a library from either location with RStudio, but I  
> can't access
> a library from 2) when using R from the command line.
>
> What do I need to change to tell R to look in another place for a  
> library?

?.libPaths

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list