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 |
|---|---|---|---|
| Priority: | Medium | Milestone: | 0.8 |
| Component: | Core - R Interop | Version: | |
| Keywords: | Cc: | bbest |
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.
Change History
Note: See
TracTickets for help on using
tickets.
