fslaborg / RProvider

Access R packages from F#
http://fslab.org/RProvider/
Other
235 stars 69 forks source link

Rinit was failing to find the location of the R (in version 3.1.1 of R) ... #127

Closed RussellPolitzky closed 9 years ago

RussellPolitzky commented 10 years ago

...since the location of the InstallPath value appears to have changed. This fix searches the entire registry hierarchy under R-core to find the InstallPath value.

tpetricek commented 9 years ago

I just tried installing R 3.1.2 and the version number is in the usual place...

So, I'm really not sure what could be causing this, but as this is not the first time someone is mentioning this issue, I suppose that the installer might behave oddly on some systems. I'm going to merge this, but change it so that it looks in the R key first (to pick the right one, if it is there).

RussellPolitzky commented 9 years ago

I'm not entirely sure when R doesn't place the install path in the root of the R-core hive, but I found the same issue on both of my machines. It may be the result of having more than one instance of R installed. I'll make a point of checking the R-core hive before/after installing R in the future, to see if there's perhaps an obvious cause for this problem. Thanks for looking into this!