Hi again. I'm sure that this is really simple. I'm trying to build a package on a Windows Vista machine. I use Rcmd build --binary test but I get the "Please set TMPDIR to a valid temporary directory" I tried TMPDIR=c:\temp but to no avail. Please help. thanks
This happened with older versions of R but its fixed in the more recent R 2.6.0 versions. On 10/1/07, Edna Bell <edna.bell01 at gmail.com> wrote:> Hi again. > > I'm sure that this is really simple. > > I'm trying to build a package on a Windows Vista machine. I use > Rcmd build --binary test > > but I get the "Please set TMPDIR to a valid temporary directory" > > I tried TMPDIR=c:\temp > but to no avail. > > Please help. > > thanks > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On 01/10/2007 11:45 PM, Edna Bell wrote:> Hi again. > > I'm sure that this is really simple. > > I'm trying to build a package on a Windows Vista machine. I use > Rcmd build --binary test > > but I get the "Please set TMPDIR to a valid temporary directory" > > I tried TMPDIR=c:\temp > but to no avail.I suspect you don't have write permission on c:\temp. Windows systems typically have TEMP set to a writeable directory, and recent builds of R 2.6.0 will use that directory; in older versions you should be able to manually set TMPDIR to the same directory. Duncan Murdoch