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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel