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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Are you using the recommended R tools, or Cygwin? Stay away from Cygwin, at least for R. See the R Windows FAQ. best, -tony>>>>> "niels" == Niels Waller <niels.waller at vanderbilt.edu> writes:niels> Has anyone had success building a package on a windows niels> machine? niels> I am trying the following command with no luck (perhaps my niels> flags are incorrect?). At this point I am stuck. Any help niels> greatly appreciated. niels> Niels Waller (BTW - I have no idea why it cannot find niels> sh.exe since I have it is a directory that is specified in niels> a path statement) niels> H:\R\bin>rcmd build --binary --use-zip h:\taxon2 * checking niels> for file 'h:\taxon2/DESCRIPTION' ... OK niels> make: Entering directory `/cygdrive/h/R/src/gnuwin32' make niels> DLLNM= \ -C h://taxon2 PKG=taxon2 RHOME=h:/R niels> RLIB=c:/TEMP/Rbuild.373 \ -f h:/R/src/gnuwin32/MakePkg niels> make[1]: Entering directory `/cygdrive/h/taxon2' make[1]: niels> /bin/sh.exe: Command not found make[1]: *** niels> [c:/TEMP/Rbuild.373/taxon2/zzzz] Error 127 make[1]: Leaving niels> directory `/cygdrive/h/taxon2' make: *** [pkg-taxon2] Error niels> 2 make: Leaving directory `/cygdrive/h/R/src/gnuwin32' *** niels> Installation of taxon2 failed *** niels> installing R.css in c:/TEMP/Rbuild.373 niels> * building 'taxon2_1..3.zip' zip warning: name not matched: niels> taxon2 niels> zip error: Nothing to do! (try: zip -r9X niels> H:/R/bin/taxon2_1..3.zip . -i taxon2) niels> 0=================================================0 niels> Dr. Niels G. Waller Quantitative Methods Department of niels> Psychology and Human Development Box 512 Peabody College niels> Vanderbilt University Nashville TN 37203 email: niels> niels.waller at vanderbilt.edu fax: 615 343-9494 QME home niels> page: http://www.vanderbilt.edu/quantmetheval niels> http://peabody.vanderbilt.edu/depts/psych_and_hd/faculty/wallern/ niels> 0=================================================0 niels> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- niels> r-help mailing list -- Read niels> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send niels> "info", "help", or "[un]subscribe" (in the "body", not the niels> subject !) To: r-help-request at stat.math.ethz.ch niels> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org -------------- http://software.biostat.washington.edu/ ---------------- FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (my friday location is usually completely unpredictable.) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._