[R] building packages on windows

stockton@neptuneandco.com stockton at neptuneandco.com
Fri May 17 05:01:52 CEST 2002


You\'ll probably need sh.exe in c:\\bin. I\'ve also found that if you have ever 
installed cygwin you need to uninstall it and remove references to cygwin from 
your registry (not that I\'m recommending editing your registry).

Tom Stockton
stockton at neptuneandco.com

Quoting Niels Waller <niels.waller at vanderbilt.edu>:

> 
> 
> Has anyone had success building a package on a windows machine?
> 
> 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\'
> 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
> 
> * building \'taxon2_1..3.zip\'
>         zip warning: name not matched: taxon2
> 
> zip error: Nothing to do! (try: zip -r9X H:/R/bin/taxon2_1..3.zip . -i
> taxon2)
> 
> 
> 
> 
> 0=================================================0
> Dr. Niels G. Waller
> Quantitative Methods
> Department of Psychology and Human Development
> Box 512 Peabody College
> Vanderbilt University
> Nashville TN 37203
> email:  niels.waller at vanderbilt.edu
> fax:    615 343-9494
> QME home page: http://www.vanderbilt.edu/quantmetheval
> http://peabody.vanderbilt.edu/depts/psych_and_hd/faculty/wallern/
> 0=================================================0
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.-
> 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