[Rd] example fails during R CMD CHECK but works interactively?

Dirk Eddelbuettel edd at debian.org
Fri May 15 15:08:22 CEST 2015


On 15 May 2015 at 07:47, Dirk Eddelbuettel wrote:
| 
| On 15 May 2015 at 07:13, Hadley Wickham wrote:
| | Make the example print out Sys.getenv() and then manually inspect?
| 
| On the systems I use    system("env")     is more efficient as it gets you
| all at once. 

Ahh, yes, and I have since been told (thanks, Hadley) that Sys.getenv() does
just that -- and I remain a big fan of how R generally abstracts the OS away.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-devel mailing list