[R] Installing a Package in Windows 2000

Philippe Grosjean phgrosje at ulb.ac.be
Thu Mar 7 10:26:59 CET 2002


Hi,

I am not pretty sure of what I will say, because I am not an expert of
Cygwin and so, but I believe it treat directories like that:

C:\dir\subdir becomes /dir/subdir
D:\dir\subdir becomes /cygdrive/d/dir/subdir (save for all drives except C)

In your cas, you have: make: Entering directory
`/cygdrive/c/R/rw1041/src/gnuwin32' which means that cygwin considers drive
C like any other. May be that the "special case" of /dir/subdir is only
applied to the drive where cygwin resides, and may be that you have put
cygwin in another drive than C?

If this is is the reason, try:
1) to put cygwin in drive C - or -
2) tu place sh.exe in the /bin dir of the same drive as cygwin.

If you try this, please, tell me what's happen.
Best,

Philippe Grosjean

-----Message d'origine-----
De : owner-r-help at stat.math.ethz.ch
[mailto:owner-r-help at stat.math.ethz.ch]De la part de Tom Kincaid
Envoye : mercredi 6 mars 2002 23:35
A : r-help at stat.math.ethz.ch; Kincaid.Tom at epamail.epa.gov
Objet : [R] Installing a Package in Windows 2000


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
C:\R\rw1041\src\library\statmanual
* checking for file `C:\R\rw1041\src\library\statmanual/DESCRIPTION' ...
OK

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
`/cygdrive/c/R/rw1041/src/library/statmanual'
if [ ! -f ./TITLE -a -f ./DESCRIPTION ] ; then \
  perl C:/R/rw1041/share/perl/maketitle.pl ./DESCRIPTION > TITLE; \
fi
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._


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