How to configure .libPaths ?

guido.steiner's Avatar

guido.steiner

12 Aug, 2011 12:16 PM

Dear support team,
first of all: THANK YOU! This tool is just awesome!

Found that RStudio (server version) sets a default .libPaths that I want to change. So my first idea was to put a new definition into .Rprofile. However, although .Rprofile seems to be sourced, the path is somehow not set or overwritten again.
If I specify it manually in the R console, then it works.
So, any idea how I can configure my .libPaths more permanently?
Best,
Guido

  1. Support Staff 2 Posted by JJ Allaire on 12 Aug, 2011 05:43 PM

    JJ Allaire's Avatar

    Hi Guido,

    Yes, we have an r-libs-user option which you can put into /etc/rstudio/rsession.conf. If provided the value of r-libs-user will be used to set R_LIBS_USER (it therefore also supports the various substitution/format strings used by R for R_LIBS_USER).

    J.J.

  2. 3 Posted by remek on 10 Nov, 2011 07:07 PM

    remek's Avatar

    Dear support team,

    I am using the RStudio desktop version and I am having trouble loading packages that were installed with R in command line. I tried to change the r-libs-user option in rsession.conf, but it does not seem to work. Is this solution only for the server edition?

    Thank you in advance for your help!

    R.

  3. Josh Paulson closed this discussion on 04 Oct, 2012 01:43 PM.

Comments are currently closed for this discussion. You can start a new one.