lgautier at gmail.com
2008-May-19 09:40 UTC
[Rd] (PR#11484) On WinXP, R CMD config needs sh (and breaks without it)
2008/5/19 Prof Brian Ripley <ripley at stats.ox.ac.uk>:> Where is the bug here? It also does on a Unix-alike.Then "R CMD config --help" could at least spit out an error stating what should be installed (rather than die with an execution error straight from the DOS). Setting an "sh" in the %Path% (sh coming from cygwin) does not seem to lead to something working under winXP (various error messages).> Anything involving R CMD potentially needs the Rtools set in the path.I guess that I have been lucky with the "potential" aspect of the requirements so far. Is there a documentation of what is needed by the respective R CMD flavors ?> R CMD config is primarily intended to be used in configure scripts in > packages. > > On Sun, 18 May 2008, lgautier at gmail.com wrote: > >> Full_Name: Laurent Gautier >> Version: R-2.7.0patched (r45712) >> OS: WinXP >> Submission from: (NULL) (90.15.141.247) >> >> >> >> On a WinXP box (that does not has "sh" in the %Path%, >> R CMD config appears to break: >> >> C:\>R CMD config >> 'sh' is not recognized as an internal or external command, >> operable program or batch file. >> >> ______________________________________________ >> R-devel at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > -- > 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 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 >
Gabor Grothendieck
2008-May-19 11:37 UTC
[Rd] (PR#11484) On WinXP, R CMD config needs sh (and breaks without it)
Note that if you place Rcmd.bat andor R.bat from http://batchfiles.googlecode.com anywhere in your path and install the latest rtools from http://www.murdoch-sutherland.com/Rtools/ then you don't have to change your PATH. On Mon, May 19, 2008 at 5:40 AM, <lgautier at gmail.com> wrote:> 2008/5/19 Prof Brian Ripley <ripley at stats.ox.ac.uk>: >> Where is the bug here? It also does on a Unix-alike. > > Then "R CMD config --help" could at least spit out an error stating > what should be installed > (rather than die with an execution error straight from the DOS). > > Setting an "sh" in the %Path% (sh coming from cygwin) does not seem to > lead to something working > under winXP (various error messages). > > >> Anything involving R CMD potentially needs the Rtools set in the path. > > I guess that I have been lucky with the "potential" aspect of the > requirements so far. > Is there a documentation of what is needed by the respective R CMD flavors ? > > >> R CMD config is primarily intended to be used in configure scripts in >> packages. >> >> On Sun, 18 May 2008, lgautier at gmail.com wrote: >> >>> Full_Name: Laurent Gautier >>> Version: R-2.7.0patched (r45712) >>> OS: WinXP >>> Submission from: (NULL) (90.15.141.247) >>> >>> >>> >>> On a WinXP box (that does not has "sh" in the %Path%, >>> R CMD config appears to break: >>> >>> C:\>R CMD config >>> 'sh' is not recognized as an internal or external command, >>> operable program or batch file. >>> >>> ______________________________________________ >>> R-devel at r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel >>> >> >> -- >> 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 272866 (PA) >> Oxford OX1 3TG, UK Fax: +44 1865 272595 >> > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >