Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
On Wed, 2008-11-12 at 21:57 +, Peter wrote: > On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: > > > > That's not (yet) stated in the doc, but the code > > for rpy2.riniterface.__init__ tells it: > > > > 1- look for R_HOME > > 2- if not R_HOME, try to get R_HOME from an exe

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent oget
Good. Either solution sounds reasonable to me. Laurent 2008/11/12 Peter <[EMAIL PROTECTED]>: > On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: >> >> That's not (yet) stated in the doc, but the code >> for rpy2.riniterface.__init__ tells it: >> >> 1- look for R_HOME >> 2- if n

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread Peter
On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: > > That's not (yet) stated in the doc, but the code > for rpy2.riniterface.__init__ tells it: > > 1- look for R_HOME > 2- if not R_HOME, try to get R_HOME from an executable R in > the $PATH/%Path% > 3- if still nothing and win32,

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
That's not (yet) stated in the doc, but the code for rpy2.riniterface.__init__ tells it: 1- look for R_HOME 2- if not R_HOME, try to get R_HOME from an executable R in the $PATH/%Path% 3- if still nothing and win32, try to get R from the registry L. On Wed, 2008-11-12 at 16:02 -0500, laurent

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent oget
Does this mean that we will have to change a registry key to switch from one version of R to the other, or will the version of R that is on the PATH take precendence? Laurent 2008/11/12 Peter <[EMAIL PROTECTED]>: > Hi Laurent, > > There have been a couple of threads recently about rpy2 having tro

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
On Wed, 2008-11-12 at 18:26 +, Peter wrote: > Hi Laurent, > > There have been a couple of threads recently about rpy2 having trouble > locating R on Windows. I have a suggestion to improve the > situation... > > By default the R installer will record the R paths in the registry, > but R is

[Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread Peter
Hi Laurent, There have been a couple of threads recently about rpy2 having trouble locating R on Windows. I have a suggestion to improve the situation... By default the R installer will record the R paths in the registry, but R is not added to the PATH, nor is the R_HOME environment variable set