[R-sig-Debian] Where/how to set R_LIBS_SITE in R 4.2.0 for running R as R --vanilla to pick up "/usr/local/lib/R/site-library/"

Sam H @@m@hhh1 @end|ng |rom gm@||@com
Tue Apr 26 09:43:00 CEST 2022

Dirk, thanks.

Changing /etc/R/Renviron by adding
after *R_LIBS_SITE=${R_LIBS_SITE:-'%S'}* seems to solve my problem. So my
/etc/R/Renviron in specified place now looks like this

On Mon, Apr 25, 2022 at 11:00 PM Dirk Eddelbuettel <edd using debian.org> wrote:

> So in short:  If you want to run R with --vanilla you have to change the
> local set up file. Because R now ships with this
> you could set R_LIBS_USER and/or R_LIBS_SITE in a file read by the OS
> before
> R starts -- a short text snippet in /etc/profile.d/ may work -- to ensure
> R_LIBS_USER and R_LIBS_SITE are set to your liking.
> Sorry for missing the hint about --vanilla from your first email.
> Dirk
> --
> dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

Best regards,

	[[alternative HTML version deleted]]

More information about the R-SIG-Debian mailing list