Ticket #528 (closed Defect: fixed)
MGET should allow user to specify the R version to use with the R_HOME environment variable
|Reported by:||jjr8||Owned by:||jjr8|
|Component:||Core - R Interop||Version:|
Description (last modified by jjr8) (diff)
Right now, MGET obtains the R version number by calling rpy.get_R_VERSION() without setting the RHOME parameter to anything. Because the default value of RHOME is None, get_R_VERSION() obtains the R version number from the Windows registry (HKEY_LOCAL_MACHINE\Software\R-core). This means that the user is restricted to whatever version is listed in the registry, even if other versions are installed in alternate locations.
We should change MGET to first check the R_HOME environment variable, then check the registry.