Ticket #528 (closed Defect: fixed)

Opened 15 months ago

Last modified 15 months ago

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

Changed 15 months ago by jjr8

  • description modified (diff)
  • summary changed from MGET should allow user to specify the R version to use with the RHOME environment variable to MGET should allow user to specify the R version to use with the R_HOME environment variable

The proper environment variable is R_HOME, not RHOME.

Changed 15 months ago by jjr8

  • status changed from new to closed
  • resolution changed from null to fixed

Implemented in r920, released in MGET 0.8a34.

Note: See TracTickets for help on using tickets.