From ggrothendieck at gmail.com  Mon May 19 13:37:15 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Mon, 19 May 2008 07:37:15 -0400
Subject: [Rd] (PR#11484) On WinXP,
	R CMD config needs sh (and breaks without it)
In-Reply-To: <20080519094035.B0E7A283416A@mail.pubhealth.ku.dk>
References: <20080519094035.B0E7A283416A@mail.pubhealth.ku.dk>
Message-ID: <971536df0805190437r7b6a87b9gb1147cce9e337e7a@mail.gmail.com>

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
>



[Rd] (PR#11484) On WinXP, R CMD config needs sh (and breaks without it)
Gabor Grothendieck