[R] building packages in Windows under R 1.2.1

John Fox jfox at mcmaster.ca
Mon Jan 22 14:13:18 CET 2001


Dear Brian,

At 12:46 PM 22/01/2001 +0000, you wrote:

>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);

Yes, this does the trick for me.

For the record, I have version v5.6.0 of Perl; I do have a c:\temp 
directory; and I did explicitly set TMPDIR to a valid directory when I 
first encountered the problem.

Thanks to Brian for the solution, and to Peter Dalgaard for trying to help.

John

________________________________
  John Fox
  Department of Sociology
  McMaster University
  email: jfox at McMaster.ca
  web: www.socsci.mcmaster.ca/jfox
________________________________

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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