Re: [Rd] Rcmd_environ and R_LIBS_{USER,SITE}

From: Keith Jewell <>
Date: Thu, 18 Oct 2012 09:14:44 +0100

No reply in a number of hours, so here is a suggestion from ignorance :-}

?Startup refers to a number of other "site and user files to process for setting environment variables" but not to Rcmd_environ. The contents of $R_HOME/etc/Rcmd_environ seem to reflect (some of) the contents of (some) other files.

I have similar lines (defining library paths) in


Is it correct to directly edit Rcmd_environ or should it be modified only via other files? (A genuine question).

On 17/10/2012 15:59, Dirk Eddelbuettel wrote:
> Is there a fundamental reason why I cannot set either one of
> ## add local library path -- doesn't work either
> R_LIBS_USER="c:/opt/R-library"
> R_LIBS_SITE="c:/opt/R-library"
> in $R_HOME/etc/Rcmd_environ even though I can seemingly set other things here?
> It breaks "R CMD check" for me as I prefer NOT to install packages in a
> versioned path.
> FWIW, defaulting to a versioned path is (to this no-longer-bemused user) as
> much a permenent R bug (on Windoze) as the default installation into a path
> with spaces.
> Dirk
> mailing list Received on Thu 18 Oct 2012 - 08:17:42 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 18 Oct 2012 - 15:00:48 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive