[R] building packages on windows

Ko-Kang Kevin Wang ko-kang at xtra.co.nz
Fri May 17 01:54:42 CEST 2002


> 
> From: "Niels Waller" <niels.waller at vanderbilt.edu>
> Date: 2002/05/17 Fri AM 10:40:09 GMT+12:00
> To: <r-help at stat.math.ethz.ch>
> Subject: [R] building packages on windows
> 
> 
> 
> Has anyone had success building a package on a windows machine?

I have.  Done it on Win98, 2000 as well as XP.

> I am trying the following command with no luck (perhaps my flags are
> incorrect?).  At this point I am stuck. Any help greatly appreciated.
> 
> Niels Waller
> (BTW - I have no idea why it cannot find sh.exe since I have it is a
> directory that is specified in a path statement)
> 
> 
> H:\R\bin>rcmd build --binary --use-zip h:\taxon2
> * checking for file 'h:\taxon2/DESCRIPTION' ... OK
> 
> make: Entering directory `/cygdrive/h/R/src/gnuwin32'
> make DLLNM= \
>   -C h://taxon2 PKG=taxon2 RHOME=h:/R RLIB=c:/TEMP/Rbuild.373 \
>   -f h:/R/src/gnuwin32/MakePkg
> make[1]: Entering directory `/cygdrive/h/taxon2'

It still looks like it can't find sh in your path.  What happens when you type 
   path
in the MS-DOS/Command Prompt?

> make[1]: /bin/sh.exe: Command not found
> make[1]: *** [c:/TEMP/Rbuild.373/taxon2/zzzz] Error 127
> make[1]: Leaving directory `/cygdrive/h/taxon2'
> make: *** [pkg-taxon2] Error 2
> make: Leaving directory `/cygdrive/h/R/src/gnuwin32'
> *** Installation of taxon2 failed ***
> 
> installing R.css in c:/TEMP/Rbuild.373
> 

Take a look at a guide to compile R on windows I wrote, at http://www.stat.auckland.ac.nz/~kwan022/rinfo.shtml
see if it helps...

Cheers,

Ko-Kang Kevin Wang


-----------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub (SDK)
University of Auckland
New Zealand


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