On Sun, 4 Feb 2001, Erich Neuwirth wrote:
> i installed r for window 1.2.1
> and suddenly
> rcmd build
> does not work any more.
>
> C:\work\checked.out>rcmd build
> Please set TMPDIR to a valid temporary directory
>
> C:\work\checked.out>echo %TMPDIR%
> C:\Documents and Settings\Erich Neuwirth\Local Settings\Temp
>
> and this is a valid directory.
>
> things worked smoothly in 1.2.0
>
> what can i do?
Win2k, right? It's a Windows Perl bug, already discussed a couple
of times here or R-help. In rw1021/bin/build replace
unless (-d $TMPDIR);
by
unless (-e $tmpdir);
Basically, -d is not working properly on any Windows platform, but it
is incorrectly mostly returning false on Win2K, and always true on NT4.
It's possible that you need
unless (-e '$tmpdir');
if so, please let me know.
--
Brian D. Ripley, ripley@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-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._