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

Re: [Rpy] rpy2 on windows

2008-10-27 Thread laurent
Great work ! (the tests failing are expected to fail - the first is yet to be fixed for all platforms, the next two are failing because stop and restarting the embedded R is causing great trouble, the last two are expected to fail under win32 at the moment). I am surely interested in seeing this

Re: [Rpy] rpy2 on windows

2008-10-27 Thread laurent oget
Here is the log of the rpy2 unit test on XP with R 2.7.2. Should I try rebuilding from SVN? Anybody interested in this windows build? Laurent C:\laurent\rpy2-2.0.0b1>python rpy\tests.py ..Error in .Primitive("[")(0:10, list("a", "b", "c")) : invalid subscript type 'list' ...

Re: [Rpy] rpy2 on windows

2008-10-23 Thread laurent
On Wed, 2008-10-22 at 22:33 -0400, laurent oget wrote: > After some more tinkering, I was able to build a windows installer for rpy2. Good ! > I'll test it tomorrow. More tests will fail, as some of the features are not working with winXP, I think (the callback functions for console input and

Re: [Rpy] rpy2 on windows

2008-10-22 Thread laurent oget
After some more tinkering, I was able to build a windows installer for rpy2. I'll test it tomorrow. Laurent 2008/10/22 laurent oget <[EMAIL PROTECTED]>: > I could not find a machine with VS 2003 so i tried my chance with > MINGW/MSYS, following > > http://boodebr.org/main/python/build-windows-ex

Re: [Rpy] rpy2 on windows

2008-10-22 Thread laurent oget
I could not find a machine with VS 2003 so i tried my chance with MINGW/MSYS, following http://boodebr.org/main/python/build-windows-extensions I installed MSYS and MINGW and ran python setup.py bdist_wininst A few issues i found: -windows is confused between rinterface.h (from rpy) and Rinterf

[Rpy] rpy2 on windows

2008-10-22 Thread laurent oget
If I can get my hands on a windows machine with VS 2003 and python 2.5.2, should I expect python setup.py bdist_wininst to produce a windows installer? Laurent - This SF.Net email is sponsored by the Moblin Your Move Develop