Re: [Rd] Using custom R_LIBS with R CMD install

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Wed, 08 Feb 2012 13:21:01 -0600

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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 08 Feb 2012 - 19:23:07 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 Wed 08 Feb 2012 - 20:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive