Re: [Rpy] Fwd: problems with rpy2...

2012-07-26 Thread Laurent Gautier
On 2012-07-26 10:10, Laurent Gautier wrote: On 2012-07-26 10:04, Nick Schurch wrote: You were of couse correct. stale ldconf settings were the issue. we have it now sucessfully running on 2.15.1! Thanks. Have you had rpy2 successfully running vs the development (2.16) version yet? I have not

Re: [Rpy] Fwd: problems with rpy2...

2012-07-26 Thread Laurent Gautier
On 2012-07-26 10:04, Nick Schurch wrote: You were of couse correct. stale ldconf settings were the issue. we have it now sucessfully running on 2.15.1! Thanks. Have you had rpy2 successfully running vs the development (2.16) version yet? I have not tried yet. If the C-API for R did not change

Re: [Rpy] Fwd: problems with rpy2...

2012-07-26 Thread Nick Schurch
You were of couse correct. stale ldconf settings were the issue. we have it now sucessfully running on 2.15.1! Thanks. Have you had rpy2 successfully running vs the development (2.16) version yet? Nick On 26 July 2012 06:04, Laurent Gautier wrote: > The thread seems to be continuing on stacko

Re: [Rpy] Fwd: problems with rpy2...

2012-07-25 Thread Laurent Gautier
The thread seems to be continuing on stackoverflow: http://stackoverflow.com/questions/11658687/ld-library-path-precendence-and-trouble-with-compiling On Jul 25, 2012 3:23 PM, "Nick Schurch" wrote: > Hi > > I don't think rebuilding rpy2 is the problem... We compiled rpy2 against R > 2.15.0 and 2

Re: [Rpy] Fwd: problems with rpy2...

2012-07-25 Thread Nick Schurch
Hi I don't think rebuilding rpy2 is the problem... We compiled rpy2 against R 2.15.0 and 2.15.1 and it still gives this error both times. Attempting to build rpy2 against R 2.16 (the development version) gives build errors. Nick On 25 July 2012 10:07, Laurent Gautier wrote: > On 2012-07-25 10

Re: [Rpy] Fwd: problems with rpy2...

2012-07-25 Thread Laurent Gautier
On 2012-07-25 10:54, Nick Schurch wrote: Both of those produce the same error... or at least they did until we realised that path for R was wrong. we had it installed in /sw/bin/R2.15.0 but the Renviron file was in /sw/bin/R2.15.0/lib64/R. Setting R_HOME to this has sorted it. Now I have the

Re: [Rpy] Fwd: problems with rpy2...

2012-07-25 Thread Nick Schurch
Both of those produce the same error... or at least they did until we realised that path for R was wrong. we had it installed in /sw/bin/R2.15.0 but the Renviron file was in /sw/bin/R2.15.0/lib64/R. Setting R_HOME to this has sorted it. Now I have the entirely different issue of rpy2 not working w

Re: [Rpy] Fwd: problems with rpy2...

2012-07-24 Thread Laurent Gautier
May be a mismatch between the R library rpy2 was built against. It should not segfault thought. Can you try: import rpy2.rinterface # Does this give a version number for R that you would expect ? print(rpy2.rinterface.R_VERSION_BUILD) # Does this complete without a crash ? print(rpy2.rinterface

[Rpy] Fwd: problems with rpy2...

2012-07-24 Thread Nick Schurch
Hi, I've installed rpy2 (2.2.4) with python 2.6.4 against R2.11 on centos 5.6. When I import rpy2 it works fine, but when I try to run tests or anything else : get: >>> import rpy2 >>> rpy2.__path__ ['/local/lib/python2.6/site-packages/rpy2'] >>> import rpy2.tests cannot find system Renviron Fata