[R] compiling packages

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jan 7 16:10:09 CET 2002


Heberto Ghezzo wrote:
> 
> Hello, happy new year to all.
> The new Year gave me a new computer with Win98 and promptly I installed
> R on it.
> I created a directory R, with subdirectories gcc, perl,bin, helpwrk and
> rw1040.
> I got rw1040 from BDR place, the rest were gotter from the internet in
> the last week of the year, i.e. they are the newest versions.
> I modified autoexec.bat to put gcc\bin, perl\bin, etc in the path. I put
> the BDR util.zip programs in bin.
> I created a directory Dunnett with subdirectories src, r, man in
> c:/r/rw1040/src/library.
> I opened the dos window cd to c:/r/rw1040/src/gnuwin32 and type make
> libR.a
> it works and created a libR.a of 1.1 Mb
> Then I typed:
> 
> Rcmd INSTALL c:/r/rw1040/src/library/Dunnett
> 
> and got :
> 
> make: Entering directory '/cygdrive/c/r/rw1040/src/gnuwin32'
> make DLLNM= \
>  -C c:/r/rw1040/src/library/Dunnett PKG=Dunnett RHOME=c:/r/rw1040
> RLIB=c:/r/rw1040/library \
>  -f c:/r/rw1040/src/gnuwin32/MakePkg
> make[1]: Entering directory '/cygdrive/c/r/rw1040/src/library/Dunnett'
> make[1]: /bin/sh.exe: Command not found
> make[1]: *** [C:/r/rw1040/library/Dunnett/zzzz] Error 127
> make[1]: Leaving directory '/cygdrive/c/r/rw1040/src/library/Dunnett'
> make: *** [pkg-Dunnett] Error 2
> make: Leaving directory '/cygdrive/c/r/rw1040/src/gnuwin32'
> *** Installation of Dunnett failed ***
> 
> directory Dunnet/Contents, DESCRIPTION,Index,Title as per instructions
> directory Dunnett/man/pdunnett.Rd,qdunnett.Rd
> directory Dunnett/R/Dunnett
> directory Dunnett/src/Dunnett.f
> 
> Can somebopdy tell me what I forgot to do?


a) From Brian Ripley's page:
"You may need to copy sh.exe to c:\bin\sh.exe; the exact circumstances
are mysterious."
( http://www.stats.ox.ac.uk/pub/Rtools/ )

b) did you modify ...\src\gnuwin32\MkRules properly?

c) It's a good idea to follow the instructions in the manuals and
readmes EXACTLY!

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