[R] building packages in Windows under R 1.2.1

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Feb 26 10:25:10 CET 2001


Prof Brian Ripley wrote:
> 
> > Date: Mon, 26 Feb 2001 09:54:02 +0100
> > From: Uwe Ligges <ligges at statistik.uni-dortmund.de>
> > X-Accept-Language: en
> > To: "Brian D. Ripley" <ripley at stats.ox.ac.uk>
> > CC: r-help <r-help at stat.math.ethz.ch>
> > Subject: Re: [R] building packages in Windows under R 1.2.1
> >
> > Prof Brian Ripley wrote [22.01.2001]:
> >
> > > 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.
> >
> > [OS: WinNT 4.0]
> >
> > Looks like this is not the only problem: Since R-1.2.0 I didn't
> > installed packages from source in windows -- and I am sure, it worked
> > for me with R-1.2.0. But it didn't work with R-1.2.1 any more (see
> > output below). All the time (for R-1.2.0 and R-1.2.1) with the same
> > versions of the C-compiler, Perl (5.6.0, build 623), etc.
> 
> Unless you can pin the problem down, I can't help.   I have
> more-or-less given up supporting R on Windows, anyway.

At first: Many thanks you for all your windows support in the last years
and all the time you spended!

Because I don't really speak perl, I hope there's anyone else on R-help
who can help. If not, I'll try to pin it down during the next few days.


> I suspect you may need to mount drive t: under cygwin.

No. Happens also when everything (also R) it installed on drive c:
After that I started in ...\bin with the *.tar.gz also in ...\bin ---
with the same result:

C:\user\ligges\r-1.2.1\bin>rcmd install strucchange_1.1-1.tar.gz

make: Entering directory `/user/ligges/r-1.2.1/src/gnuwin32'
... [SNIP] ...
C:/user/ligges/r-1.2.1/bin/Rterm: not found
make[1]: *** [C:/user/ligges/r-1.2.1/library/strucchange/zzzz] Error 127
... [SNIP] ...


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