From edd at debian.org  Fri May 15 15:08:22 2015
From: edd at debian.org (Dirk Eddelbuettel)
Date: Fri, 15 May 2015 08:08:22 -0500
Subject: [Rd] example fails during R CMD CHECK but works interactively?
In-Reply-To: <21845.60129.410996.217354@max.nulle.part>
References: <CAKxd1KNtOjyq5DYEVmvw=NQUrnL5LVZYuSt=1cyfE=QQQquCLw@mail.gmail.com>
	<1612739531.2387533.1431543079541.JavaMail.root@fredhutch.org>
	<CAKxd1KMgT700+uKmD8v-QJoG5NmpeA+t3rSR-gg1L19=NbpzPw@mail.gmail.com>
	<CAKxd1KMkW6mx9hYdDwtQ6k9R7BnvufZspFs8fJPovYJXXgW75Q@mail.gmail.com>
	<CABdHhvGRvmLfedUHDqVSFuUtqghOtikX9zd27o7PiO+j2xLm-g@mail.gmail.com>
	<21845.60129.410996.217354@max.nulle.part>
Message-ID: <21845.61382.928836.879391@max.nulle.part>


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



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