[R] building packages in Windows under R 1.2.1

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jan 22 13:46:11 CET 2001


On Mon, 22 Jan 2001, Yves Gauvreau wrote:

> Hi,
>
> Could it be because of is PATH and/or RHOME. He says it still works with R
> 1.2.0.

The code is new in 1.2.1, and identical code in Rcmd clean works. It looks
like a Windows Perl bug.  On my machines under NT4 and 98 this works
because -d foo seems to be always true!  It is probably different on 2000.

Try changing the line

        unless (-d $TMPDIR);

to
        unless (-e $tmpdir);

It may also depend on the Perl version.  We know that system() is broken
in builds later than ca 619, for example.

It's strange that after years of problems with the make and shell, Perl
is now misbehaving.


-- 
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 mailing list