From h.wickham at gmail.com  Sun Apr 21 14:18:13 2013
From: h.wickham at gmail.com (Hadley Wickham)
Date: Sun, 21 Apr 2013 07:18:13 -0500
Subject: [Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony
In-Reply-To: <CAP01uRkq2PXwrQfN5MAjWuE02QtQxVu8raa2uhW4rOi9BGvuzg@mail.gmail.com>
References: <5171B903.50401@gmail.com> <5171E5BB.9010200@gmail.com>
	<CAP01uR=5F6UQq2B=z4ZSVXodStm726Fmu=kco5xH3bog_RW--A@mail.gmail.com>
	<CABdHhvHmLaeuQkqwqSw=2isbvtdm=zW_akF5rxuu9Tquvo2uMw@mail.gmail.com>
	<CAP01uRkOt06f4m-y8xYuzdxggu4PUGrhNkzMyKb7x7UOwKAjaQ@mail.gmail.com>
	<5172B8FC.6010004@gmail.com>
	<CAP01uRmCLc67t=t0qeUjsj4QsTVN1vp9VZnWH6iNCYpzjCXJGQ@mail.gmail.com>
	<5172D661.4000703@gmail.com> <5172D84F.3060801@gmail.com>
	<5172DC98.8040308@gmail.com> <517319E5.4040800@gmail.com>
	<CABdHhvFSnwMxx7kDs7vw6LvMTwEzw_X_6=WBQOf3FHqGM2piiQ@mail.gmail.com>
	<CAP01uRkq2PXwrQfN5MAjWuE02QtQxVu8raa2uhW4rOi9BGvuzg@mail.gmail.com>
Message-ID: <CABdHhvFsiuTmnW8So3TdoKcDVsqtM0sO18NivEjr3JfSG9Bcfg@mail.gmail.com>

> The problem is that if you don't just use the PC for running R but use
> it to run other programs too then any program and that utilizes
> Windows batch scripts making use of find.exe or sort.exe likely won't
> work if Rtools is on your path.
>
> The fact that devtools, batchfiles and Rcpp have workarounds mitigates
> it somewhat but the problem should be fixed so it works out-of-the-box
> once and for all.

I guess I don't see the advantage of that approach (except perhaps for
simplicity), compared to using the registry to store path information
and then using environmental variables to set it when needed. It would
be nice if Rtools didn't override existing windows executables, in the
same way it would be nice if windows worked like linux out of the box.
But since it doesn't, and since in general adding more and more
directories to the path makes it more and more likely for some
conflict to arise, I think Rtools current approach is very reasonable.

Hadley

--
Chief Scientist, RStudio
http://had.co.nz/



[Rd] R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony
Hadley Wickham