Hi dears, I have difficulty to build a package ! I use Windows XP HOME, with and Intel PVI 2.66Ghz processor and 512MB of memory I use RCMD check pyra1 and I got this : * using log directory 'C:/DOCS/R/pyra1.Rcheck' * using * checking for file 'pyra1/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'pyra1' version '1.0' * checking if this is a source package ... OK ERROR Installation failed. Then I use RCMD build --binary pyra1 and in my shell I Got : * checking for file 'pyra1/DESCRIPTION' ... OK * preparing 'pyra1': * checking DESCRIPTION meta-information ...'sh' is not recognized as an internal or external command, operable program or batch file. * cleaning src * removing junk files 'sh' is not recognized as an internal or external command, operable program or batch file. 'sh' is not recognized as an internal or external command, operable program or batch file. Error: cannot open file 'pyra1/DESCRIPTION' for reading does 'sh' refer to shell ? does I need to install any other program to build package ? Sincerly. --------------------------------- [[alternative HTML version deleted]]
On Thu, 13 Oct 2005, justin bem wrote:> Hi dears, > I have difficulty to build a package ! > I use Windows XP HOME, with and Intel PVI 2.66Ghz processor and 512MB of memoryYou need to review Appendix F of the R Installation and Administration manual, and be sure you have installed the Windows toolset, and modified your PATH setting. The explanations look long, but are complete and do work. The "sh" that Windows is looking for, is among the tools you should have installed and put in your PATH, so it looks as though this is your difficulty.> I use RCMD check pyra1 and I got this : > * using log directory 'C:/DOCS/R/pyra1.Rcheck' > * using > * checking for file 'pyra1/DESCRIPTION' ... OK > * checking extension type ... Package > * this is package 'pyra1' version '1.0' > * checking if this is a source package ... OK > ERROR > Installation failed. > Then I use RCMD build --binary pyra1 and in my shell I Got : > * checking for file 'pyra1/DESCRIPTION' ... OK > * preparing 'pyra1': > * checking DESCRIPTION meta-information ...'sh' is not recognized as an internal or external command, > operable program or batch file. > * cleaning src > * removing junk files > 'sh' is not recognized as an internal or external command, > operable program or batch file. > 'sh' is not recognized as an internal or external command, > operable program or batch file. > Error: cannot open file 'pyra1/DESCRIPTION' for reading > > does 'sh' refer to shell ? does I need to install any other program to build package ? > Sincerly. > > > --------------------------------- > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
On 10/13/2005 10:04 AM, justin bem wrote:> Hi dears, > I have difficulty to build a package ! > I use Windows XP HOME, with and Intel PVI 2.66Ghz processor and 512MB of memory > I use RCMD check pyra1 and I got this : > * using log directory 'C:/DOCS/R/pyra1.Rcheck' > * using > * checking for file 'pyra1/DESCRIPTION' ... OK > * checking extension type ... Package > * this is package 'pyra1' version '1.0' > * checking if this is a source package ... OK > ERROR > Installation failed. > Then I use RCMD build --binary pyra1 and in my shell I Got : > * checking for file 'pyra1/DESCRIPTION' ... OK > * preparing 'pyra1': > * checking DESCRIPTION meta-information ...'sh' is not recognized as an internal or external command, > operable program or batch file. > * cleaning src > * removing junk files > 'sh' is not recognized as an internal or external command, > operable program or batch file. > 'sh' is not recognized as an internal or external command, > operable program or batch file. > Error: cannot open file 'pyra1/DESCRIPTION' for reading > > does 'sh' refer to shell ? does I need to install any other program to build package ?Yes, you need the R toolset. See an appendix in the installation and administration manual from R 2.2.0 for the details. Duncan Murdoch