Hello, happy new year to all. The new Year gave me a new computer with Win98 and promptly I installed R on it. I created a directory R, with subdirectories gcc, perl,bin, helpwrk and rw1040. I got rw1040 from BDR place, the rest were gotter from the internet in the last week of the year, i.e. they are the newest versions. I modified autoexec.bat to put gcc\bin, perl\bin, etc in the path. I put the BDR util.zip programs in bin. I created a directory Dunnett with subdirectories src, r, man in c:/r/rw1040/src/library. I opened the dos window cd to c:/r/rw1040/src/gnuwin32 and type make libR.a it works and created a libR.a of 1.1 Mb Then I typed: Rcmd INSTALL c:/r/rw1040/src/library/Dunnett and got : make: Entering directory '/cygdrive/c/r/rw1040/src/gnuwin32' make DLLNM= \ -C c:/r/rw1040/src/library/Dunnett PKG=Dunnett RHOME=c:/r/rw1040 RLIB=c:/r/rw1040/library \ -f c:/r/rw1040/src/gnuwin32/MakePkg make[1]: Entering directory '/cygdrive/c/r/rw1040/src/library/Dunnett' make[1]: /bin/sh.exe: Command not found make[1]: *** [C:/r/rw1040/library/Dunnett/zzzz] Error 127 make[1]: Leaving directory '/cygdrive/c/r/rw1040/src/library/Dunnett' make: *** [pkg-Dunnett] Error 2 make: Leaving directory '/cygdrive/c/r/rw1040/src/gnuwin32' *** Installation of Dunnett failed *** directory Dunnet/Contents, DESCRIPTION,Index,Title as per instructions directory Dunnett/man/pdunnett.Rd,qdunnett.Rd directory Dunnett/R/Dunnett directory Dunnett/src/Dunnett.f Can somebopdy tell me what I forgot to do? Thanks -- R. Heberto Ghezzo Ph.D. Meakins-Christie Labs McGill University Montreal - Canada -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Heberto Ghezzo wrote:> > Hello, happy new year to all. > The new Year gave me a new computer with Win98 and promptly I installed > R on it. > I created a directory R, with subdirectories gcc, perl,bin, helpwrk and > rw1040. > I got rw1040 from BDR place, the rest were gotter from the internet in > the last week of the year, i.e. they are the newest versions. > I modified autoexec.bat to put gcc\bin, perl\bin, etc in the path. I put > the BDR util.zip programs in bin. > I created a directory Dunnett with subdirectories src, r, man in > c:/r/rw1040/src/library. > I opened the dos window cd to c:/r/rw1040/src/gnuwin32 and type make > libR.a > it works and created a libR.a of 1.1 Mb > Then I typed: > > Rcmd INSTALL c:/r/rw1040/src/library/Dunnett > > and got : > > make: Entering directory '/cygdrive/c/r/rw1040/src/gnuwin32' > make DLLNM= \ > -C c:/r/rw1040/src/library/Dunnett PKG=Dunnett RHOME=c:/r/rw1040 > RLIB=c:/r/rw1040/library \ > -f c:/r/rw1040/src/gnuwin32/MakePkg > make[1]: Entering directory '/cygdrive/c/r/rw1040/src/library/Dunnett' > make[1]: /bin/sh.exe: Command not found > make[1]: *** [C:/r/rw1040/library/Dunnett/zzzz] Error 127 > make[1]: Leaving directory '/cygdrive/c/r/rw1040/src/library/Dunnett' > make: *** [pkg-Dunnett] Error 2 > make: Leaving directory '/cygdrive/c/r/rw1040/src/gnuwin32' > *** Installation of Dunnett failed *** > > directory Dunnet/Contents, DESCRIPTION,Index,Title as per instructions > directory Dunnett/man/pdunnett.Rd,qdunnett.Rd > directory Dunnett/R/Dunnett > directory Dunnett/src/Dunnett.f > > Can somebopdy tell me what I forgot to do?a) From Brian Ripley's page: "You may need to copy sh.exe to c:\bin\sh.exe; the exact circumstances are mysterious." ( http://www.stats.ox.ac.uk/pub/Rtools/ ) b) did you modify ...\src\gnuwin32\MkRules properly? c) It's a good idea to follow the instructions in the manuals and readmes EXACTLY! Uwe -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 7 Jan 2002, Heberto Ghezzo wrote:> Hello, happy new year to all. > The new Year gave me a new computer with Win98 and promptly I installed > R on it. > I created a directory R, with subdirectories gcc, perl,bin, helpwrk and > rw1040. > I got rw1040 from BDR place, the rest were gotter from the internet in > the last week of the year, i.e. they are the newest versions. > I modified autoexec.bat to put gcc\bin, perl\bin, etc in the path. I put > the BDR util.zip programs in bin. > I created a directory Dunnett with subdirectories src, r, man in > c:/r/rw1040/src/library. > I opened the dos window cd to c:/r/rw1040/src/gnuwin32 and type make > libR.a > it works and created a libR.a of 1.1 Mb > Then I typed: > > Rcmd INSTALL c:/r/rw1040/src/library/Dunnett > > and got : > > make: Entering directory '/cygdrive/c/r/rw1040/src/gnuwin32' > make DLLNM= \ > -C c:/r/rw1040/src/library/Dunnett PKG=Dunnett RHOME=c:/r/rw1040 > RLIB=c:/r/rw1040/library \ > -f c:/r/rw1040/src/gnuwin32/MakePkg > make[1]: Entering directory '/cygdrive/c/r/rw1040/src/library/Dunnett' > make[1]: /bin/sh.exe: Command not found > make[1]: *** [C:/r/rw1040/library/Dunnett/zzzz] Error 127 > make[1]: Leaving directory '/cygdrive/c/r/rw1040/src/library/Dunnett' > make: *** [pkg-Dunnett] Error 2 > make: Leaving directory '/cygdrive/c/r/rw1040/src/gnuwin32' > *** Installation of Dunnett failed *** > > directory Dunnet/Contents, DESCRIPTION,Index,Title as per instructions > directory Dunnett/man/pdunnett.Rd,qdunnett.Rd > directory Dunnett/R/Dunnett > directory Dunnett/src/Dunnett.f > > Can somebopdy tell me what I forgot to do?Copy sh.exe to /bin/sh.exe, on the drive you are using? -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I had trouble compiling packages in Win98 When I copy sh.exe to a directory c:\bin\ the compiling went OK even if this directory was not in the path! thanks to Uwe & Brian for their prompt response. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._