From sego at vt.edu  Mon Sep 20 22:36:22 2004
From: sego at vt.edu (sego@vt.edu)
Date: Mon Sep 20 22:36:26 2004
Subject: [Rd] RE: problem with R CMD build--FIXED (PR#7241)
Message-ID: <20040920203622.805BC110E0@slim.kubism.ku.dk>

> I'm puzzled. One thing I'd try would be to get Cygwin out of the picture,
> at least for a moment. Try to set TMPDIR (and maybe TMP and TEMP) to
> C:\Temp,
> and try to run the whole thing from a "DOS" Cmd.exe window.

Here it is:

D:\dirk\bands\implementation>set TMPDIR=d:\tmp

D:\dirk\bands\implementation>echo %TMPDIR%
d:\tmp

D:\dirk\bands\implementation>r CMD BUILD --help
Usage: R CMD BUILD [options] pkgdirs

Build R packages from package sources in the directories specified by
pkgdirs.

Options:
   -h, --help            print short help message and exit
   -v, --version         print version info and exit

   --force               force overwriting of INDEX file
   --no-vignettes        do not rebuild package vignettes

   --binary              build pre-compiled binary packages, with options:
   --docs=TYPE           type(s) of documentation to build and install
   --auto-zip            select zipping of data and help based on size
   --use-zip-data        collect data files in zip archive
   --use-zip-help        collect help and examples into zip archives
   --use-zip             combine '--use-zip-data' and '--use-zip-help'

Email bug reports to <r-bugs@r-project.org>.


So that works.  I then right-clicked on "My Computer", then clicked on 
"Properties", "Advanced", "Environment Variables" and then set new 
variable called "TMPDIR".

Having done that, "r CMD build"  works in Cygwin too.

I wonder why I never saw this before with the previous machine?  Well it 
looks like this one is fixed.

Landon

_________________________________________

Landon Sego
Department of Statistics
Virginia Tech
414 Hutcheson
(540) 231-2144


[Rd] RE: problem with R CMD build--FIXED (PR#7241)
sego@vt.edu