[Rd] Using custom R_LIBS with R CMD install

Dirk Eddelbuettel edd at debian.org
Wed Feb 8 20:21:01 CET 2012


On 8 February 2012 at 20:05, Uwe Ligges wrote:
| Anyway, this won't work under a Windows shell, I believe. At least, I do 
| not know how to set an env variable and run RCMD INSTALL in a Windows 
| shell as a one liner - independent of R.

FWIW this issue was addressed by Oleg years ago in cfunction() in his inline
package -- by using Sys.setenv() prior to calling system().  This works
in a cross-platform way, avoiding the need for special cases.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



More information about the R-devel mailing list