Skip to content

R-devel Digest, Vol 100, Issue 28

5 messages · John Maindonald, Uwe Ligges, Duncan Murdoch +1 more

#
On 29.06.2011 13:41, John Maindonald wrote:
No, you got the same as Duncan: This is 8.3 compatible.

Uwe
#
On 29/06/2011 1:09 PM, Uwe Ligges wrote:
Yes, that's right.  The documentation is pretty inaccurate.  What 
actually is supposed to happen is that you get the actual path, with 
forward slashes in it, unless it contains spaces:  then you get the 8.3 
version.  So John's path has no spaces, and doesn't get converted to 
8.3.  True 8.3 would also have uppercase PROGRAMS, and only one dot in 
R-2.13.0 (I forget how that is converted).

Duncan Murdoch
#
On 29/06/2011 1:44 PM, Duncan Murdoch wrote:
I've now clarified the help page.  R.home() just looks up the 
environment variable R_HOME, and then possibly adds some subdir to it.
If your front end (e.g. Hadley's rj/Eclipse setup) doesn't initialize 
R_HOME properly, then you'll get whatever it put there.  You can also 
mess with it using Sys.setenv(R_HOME="junk").

Duncan Murdoch
#
On 06/29/2011 08:08 PM, Duncan Murdoch wrote:
For the record, Eclipse/StatET makes use of an R_HOME variable
as set by the user (not as initialized by the front-end)
in a so called 'R Environment' under

Window > Preferences > StatET > Run/Debug > R Environments

Best,
Tobias