Here are the two registry entries I'm asking for. **
HKEY_LOCAL_MACHINE\Software\R-core\R\Current Version HKEY_LOCAL_MACHINE\Software\R-core\R\version\InstallPath
When R is launched from the command line (or from emacs or statconnDCOM ), it uses any version first in the Windows Path environment variable. On the contrary, double-clicking on the *.Rdata file uses the version indicated by the corresponding file association entry in HKEY_CLASSES_ROOT .
But when or by what two used elements are HKEY_LOCAL_MACHINE ?
EDIT: Brian Diggs points to a set of Windows *.bat that use (and modify) these registry entries, but I'm still interested in that closer to the "core" R uses them. (I hope the answer is no.)
** As described in the R for Windows FAQ , these entries can be installed either during installation (by clicking "Save the version number in the registry") or later from the command line (by typing RSetReg.exe from $RHOME\bin ).
source share