Kirill Müller
2017-Jul-02 19:39 UTC
[R-sig-Debian] /etc/R/Renviron doesn't set R_LIBS_USER anymore
Hi An upgrade to R 3.4.1 on Ubuntu removed the default setting of R_LIBS_USER in /etc/R/Renviron. What's the rationale behind this? Thanks. Best regards Kirill
Dirk Eddelbuettel
2017-Jul-02 20:01 UTC
[R-sig-Debian] /etc/R/Renviron doesn't set R_LIBS_USER anymore
On 2 July 2017 at 21:39, Kirill M?ller wrote: | Hi | | An upgrade to R 3.4.1 on Ubuntu removed the default setting of | R_LIBS_USER in /etc/R/Renviron. What's the rationale behind this? Thanks. Pretty much exactly what I told you in person last week :) - idea is to prefer /usr/local/lib/R/site-library/ - multi-user more important than per-user Also see https://bugs.debian.org/866768 The transition may be too harsh though. I did not consider the possibility of /usr/local/lib/R/site-library/ *not* being writeable. So what I could do is to re-add the per-user directory as a fall-back after the preferred /usr/local/lib/R/site-library. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Kirill Müller
2017-Jul-02 21:24 UTC
[R-sig-Debian] /etc/R/Renviron doesn't set R_LIBS_USER anymore
On 02.07.2017 22:01, Dirk Eddelbuettel wrote:> On 2 July 2017 at 21:39, Kirill M?ller wrote: > | Hi > | > | An upgrade to R 3.4.1 on Ubuntu removed the default setting of > | R_LIBS_USER in /etc/R/Renviron. What's the rationale behind this? Thanks. > > Pretty much exactly what I told you in person last week :) > > - idea is to prefer /usr/local/lib/R/site-library/ > - multi-user more important than per-user > > Also see https://bugs.debian.org/866768 > > The transition may be too harsh though. I did not consider the possibility of > /usr/local/lib/R/site-library/ *not* being writeable. So what I could do is > to re-add the per-user directory as a fall-back after the preferred > /usr/local/lib/R/site-library.Thanks. The site-library is owned by root/staff on my system, and my user isn't member of the staff group (Ubuntu 17.04). I'm not sure how this looks on a factory-fresh install, but IMO users should be able to just use install.packages(). -Kirill> Dirk >