Skip to content
Prev 45652 / 63421 Next

R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony

I think we are having a failure of communication: Rtools does not set
the path, so that you must do so, every time you use it. There is no
other way to prevent it from interfering from some other windows
software, except by tightly confining the scope in which it enters the
path. When I first starting working with Rtools, I thought this was a
terribly frustrating decision - why didn't the default installer
always put rtools on the path? But now I see it's the only way - it
avoids conflicts with other software, and without that default there'd
be no way to have multiple versions of rtools installed. That said, I
think the logic that Rstudio and devtools uses to find rtools would
have been helpful to include in base R, but that's not so important
now that it's available in a package. (And if any big change was made,
I'd probably argue it'd be better just to always bundle rtools with R
on windows - I think it's a key part of the philosophy of R that users
can easily become developers. But there are obviously other
considerations.)

To clarify, the rtools database in devtools does not contain a list of
locations of rtools, but the directories inside of an rtools
installation that need to be available on the path. This list has
changed over time as the tools needed by R have changed. I don't see
any way of avoiding that (except perhaps by storing those in the
registry, but regardless there's no way to go back in time and fix old
decisions). Devtools (following the logic of rstudio) looks in a
number of places to find rtools, first looking in the path and then in
the registry, and takes considerable care to ensure that the versions
of R and rtools match (another reason why the database is necessary).

Hadley

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

Thread (35 messages)

Kevin Coombes R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 19 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 19 Kevin Coombes R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 19 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 19 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Kevin Coombes R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Kevin Coombes R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 20 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Henrik Bengtsson R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 steven mosher R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Kevin Coombes R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 21 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 22 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 22 Hadley Wickham R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 22 Gabor Grothendieck R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 22 Paul Gilbert R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 29 Duncan Murdoch R 3.0, Rtools3.0,l Windows7 64-bit, and permission agony Apr 29