[R] Installing a Package in Windows 2000

Tom Kincaid Kincaid.Tom at epamail.epa.gov
Wed Mar 6 23:35:01 CET 2002

I'm using R 1.4.1 under Windows 2000 and am experiencing difficulty
installing a package.  I've included an example output using Rcmd build,
but the same problem occurs with Rcmd check and Rcmd INSTALL.  The error
(make[1]: /bin/sh.exe: Command not found) is not a new one - it's
referenced in readme.packages among other locations.  I've placed a copy
of sh.exe in C:\bin, but it didn't fix the problem.  I've also checked
to ensure that perl can be found.  Actually, I've made an extensive
effort to solve the problem prior to sending this help request.  So, any
assistance will be greatly appreciated!

Thank you in advance.

Tom Kincaid

Example Output:

C:\R\rw1041\src\gnuwin32>Rcmd build --binary --use-zip-help
* checking for file `C:\R\rw1041\src\library\statmanual/DESCRIPTION' ...

make: Entering directory `/cygdrive/c/R/rw1041/src/gnuwin32'
make DLLNM= \
  -C C:/R/rw1041/src/library/statmanual PKG=statmanual RHOME=C:/R/rw1041
RLIB=C:/R/Temp/Rbuild.1312 \
  -f C:/R/rw1041/src/gnuwin32/MakePkg
make[1]: Entering directory
if [ ! -f ./TITLE -a -f ./DESCRIPTION ] ; then \
  perl C:/R/rw1041/share/perl/maketitle.pl ./DESCRIPTION > TITLE; \
make[1]: /bin/sh.exe: Command not found
make[1]: *** [TITLE] Error 127
make[1]: Leaving directory `/cygdrive/c/R/rw1041/src/library/statmanual'

make: *** [pkg-statmanual] Error 2
make: Leaving directory `/cygdrive/c/R/rw1041/src/gnuwin32'
*** Installation of statmanual failed ***

installing R.css in C:/R/Temp/Rbuild.1312

* building `statmanual_1.0.zip'
        zip warning: name not matched: statmanual

zip error: Nothing to do! (try: zip -r9X
C:/R/rw1041/src/gnuwin32/statmanual_1.0.zip . -i statmanual)

Thomas M. Kincaid, Ph.D.
Environmental Statistician
Dynamac Corporation
200 SW 35th Street
Corvallis, OR 97333
Phone:   (541) 754-4479
Fax:     (541) 754-4716
E-mail:  Kincaid.Tom at epamail.epa.gov

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