From murdoch at stats.uwo.ca  Tue Jan  2 01:40:50 2007
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 01 Jan 2007 19:40:50 -0500
Subject: [Rd] Wish list
In-Reply-To: <971536df0701011617g7dfaac5bx137b67e304afdeb2@mail.gmail.com>
References: <971536df0612312228i4a4bb0b2h6c52c081213c296@mail.gmail.com>	<45993282.7030409@stats.uwo.ca>	<971536df0701011010n79989438i3ee33f5030f0687a@mail.gmail.com>	<45999EF7.4070706@stats.uwo.ca>
	<971536df0701011617g7dfaac5bx137b67e304afdeb2@mail.gmail.com>
Message-ID: <4599AA12.9000000@stats.uwo.ca>

On 1/1/2007 7:17 PM, Gabor Grothendieck wrote:
>>> Anyone who uses batch files will use it quite a bit.  It certainly causes
>>> me problems on an ongoing basis and is an unacceptable conflict in
>>> my opinion.
>> If you're using batch files, the fix I suggested is trivial for you.
> 
> The batch files could come from other programs you
> are using which one does not really want to have
> to figure them out and modify them.  

You don't need to modify any other batch files, you just need to create 
a new batch file named "R.bat" as a wrapper for R.  I forget batch file 
syntax, so I'm sure this is wrong, but it would look something like this:

SAVEPATH=%PATH%
PATH=Rtools\bin;R\bin;...
R %1 %2 ...
PATH=%SAVEPATH%

 > In any case,
 > R should not be written in
 > a way which conflicts with system utilities.

I'd guess the "find" that R uses predates the one that Microsoft 
invented.  Think of the R toolset as an attempt to correct the mistakes 
that Microsoft made, by making the environment more Unix-like.

Duncan Murdoch



[Rd] Wish list
Duncan Murdoch