[R] building packages on Windows

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Oct 3 19:26:36 CEST 2007



Duncan Murdoch wrote:
> 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, Edna,

if Edna has the right permissions, then perhaps
     TMPDIR=c:\temp
has been typed rather than
     set TMPDIR=c:/temp
which will fix it.

Uwe



> Duncan Murdoch
> 
> ______________________________________________
> 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.



More information about the R-help mailing list