[R] rcmd build
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Thu Jan 25 19:54:10 CET 2001
On Thu, 25 Jan 2001, Thomas Stockton wrote:
> I'm having trouble building a package (named reap) under R1.2.1 Windows2000. I
> successfully ran
> d:\R\src\library rcmd check reap
> but when I run
> d:\R\src\library rcmd build reap
> I get the message:
> Please set TMPDIR to a valid temporary directory
This is a Perl bug on Windows 2000. Replace
unless (-d $TMPDIR);
unless (-e $tmpdir);
and the same in check. Strangely, the very same Perl code works in about
check and about 10 other places and fails in just this one, and it only
fails on Windows 2000, not NT4 nor 98.
Sorry, but if perfectly correct Perl fails on your OS, you are in trouble
and we can't anticipate it.
John Fox, who reported this earlier, confirmed that the above workaround
worked for him.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help