[R] building packages on Windows

Duncan Murdoch murdoch at stats.uwo.ca
Tue Oct 2 12:38:41 CEST 2007


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



More information about the R-help mailing list