Re: [Rpy] converting r array to numpy array

2010-11-02 Thread Denham Robert
Thanks Laurent, that makes sense. I noticed someone reported this problem earlier (I probably should have looked there first!), but didn't follow it up so their issue got closed. I reopened it, hope that's ok. See issue #47 rpy2 -> numpy mangles arrays. Thanks again, Robert -Original Mess

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread Laurent Gautier
On 02/11/10 17:22, Peter wrote: > On Tue, Nov 2, 2010 at 4:11 PM, John A Schroeder > wrote: >> OOPs, >> >> >> Looks like it is working if I correct my R_HOME from >> >> R_HOME=C:\Program Files\R\R-2.12.0\bin\i386\ >> >> to >> >> R_HOME=C:\Program Files\R\R-2.12.0 >> >> The incorrect R_HOME was a

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread Peter
On Tue, Nov 2, 2010 at 4:11 PM, John A Schroeder wrote: > > OOPs, > > > Looks like it is working if I correct my R_HOME from > > R_HOME=C:\Program Files\R\R-2.12.0\bin\i386\ > > to > > R_HOME=C:\Program Files\R\R-2.12.0 > > The incorrect R_HOME was a result of an earlier attempt to get this workin

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread John A Schroeder
OOPs, Looks like it is working if I correct my R_HOME from R_HOME=C:\Program Files\R\R-2.12.0\bin\i386\ to R_HOME=C:\Program Files\R\R-2.12.0 The incorrect R_HOME was a result of an earlier attempt to get this working. Your fix appears to do the job Thankyou! And sorry about the interu

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread John A Schroeder
Yes, Here is the trace back Traceback (most recent call last): File "E:\Users\roe\Eclipse\workspace\Python\RPy\src\Faithful.py", line 8, in import rpy2.rpy_classic as rpy File "C:\Python26\lib\site-packages\rpy2\rpy_classic.py", line 5, in import rpy2.rinterface as ri File "C:\P

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread Peter
On Tue, Nov 2, 2010 at 3:15 PM, John Schroeder wrote: > Deschamps, Benjamin AGR.GC.CA> writes: > > Has anyone solved this?  I lost track of this thread, but now have the same > problem.  The recommended solution (changes to rinterface\__init__.py) does > not work for me.  The RPy2 error message I

Re: [Rpy] rpy2 2.0.8 win32 Unable to locate R.dll

2010-11-02 Thread John Schroeder
Deschamps, Benjamin AGR.GC.CA> writes:   > > R.dll is located at C:\Program Files\R\R-2.12.0\bin\i386\R.dll, > and my PATH includes C:\Program Files\R\R-2.12.0, C:\Program Files\R\R-2.12.0 \bin > and C:\Program Files\R\R-2.12.0\bin\i386. I also have the variable R_HOME > defined as C:\Program Fi