[R] Trouble in running Rcmd --check on Windows 2000.

John Fox jfox at mcmaster.ca
Sat Sep 21 23:42:00 CEST 2002


Dear Eryk,

At 09:32 AM 9/20/2002 +0200, wolski wrote:
>Hi!
>My Platform:
>Windows 2000
>R version >1.5
>Active Perl 5.6
>Rtools at the start of the PATH.
>
>I am trying to build a package. The functions are written only in R (no C 
>code). I am trying to proceed as described in R-exts.pdf
>
>But instead to get a build package i am getting (see below). At first 
>glance it seems to me that i understand the output. At something similar i 
>am looking most of my time. But it does not help to get the package 
>checked and installed. Is there anyone out who can help me? Please help!
>
>
>D:\home\wolski\Rproject>Rcmd check --no-latex 
>--library=D:\home\wolski\Rproject\temp D:\home\wolski\Rproject\mscalib
>* using log directory 'D:/home/wolski/Rproject/mscalib.Rcheck'
>
>
>make: Entering directory `/cygdrive/d/prog/R/rw1051/src/gnuwin32'
>make DLLNM= FLIBS="-lg2c -lRblas" \
>   -C D:/home/wolski/Rproject/mscalib PKG=mscalib RHOME=d:/prog/R/rw1051 
> RLIB=D:/home/wolski/Rproject/temp \
>   -f d:/prog/R/rw1051/src/gnuwin32/MakePkg
>make: /bin/sh.exe: Command not found

Try copying sh.exe to \bin\sh.exe on the current drive (D: in your case?).

>make: *** [pkg-mscalib] Error 127
>make: Leaving directory `/cygdrive/d/prog/R/rw1051/src/gnuwin32'
>*** Installation of mscalib failed ***
>
>
>* checking for file 'mscalib/DESCRIPTION' ... OK
>* checking package directory ... OK
>* checking DESCRIPTION Package field ... OK
>* checking DESCRIPTION Version field ... OK
>* checking DESCRIPTION License field ... OK
>* checking DESCRIPTION Description field ... OK
>* checking DESCRIPTION Title field ... OK
>* checking DESCRIPTION Author field ... OK
>* checking DESCRIPTION Maintainer field ... OK
>* checking DESCRIPTION Depends field ... OK
>* checking R files for syntax errors 
>...C:\WINNT\Profiles\wolski\LOCALS~1\Temp/Rutils179273815: cannot open 
>C:WINNTProfileswolskiLOCALS~1Temp/Rin17928
>0029: no such file
>  OK
>* checking R files for library.dynam ...Error: cannot open file 
>'D:/home/wolski/Rproject/temp/mscalib/R/mscalib' for reading at 
>d:\prog\R\rw1051/bin/c
>heck line 523.
>

I believe that this error is a consequence of the previous one.

I hope that this helps,
  John

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
----------------------------------------------------- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020921/aec5d4fa/attachment.html


More information about the R-help mailing list