Hello.

I am trying to install Rpy on my machine (Mac OS 10.6) to run some tools and
I am running into Rpy installation problems.

Python version is 2.5, R is 2.11.1 (installed using source and configure
using shared libraries, ./configure --enable-R-shlib, as indicated in README
doc).  Rpy version is 1.0.3 from source.
The two things I had to modify in Rpy to make it compile
1. In rpy_tools.py change the regular expersion search of R version to:
            version = re.search(" +([0-9]\.[0-9]+\.[0-9])", output)
    2.  In src/Rpy.h replace include of Rdevice.h with Rembedded.h

The error I am receiving when importing rpy in python is as follows:
[Note: Looking at R code, CStackLimit is defined, just set to ­1.  Yet rpy
has some linking issues]
**********************************************************************
>>> import rpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "rpy.py", line 134, in <module>
    """ % RVERSION)
RuntimeError: dlopen(/Library/Python/2.5/site-packages/_rpy2111.so, 2):
Symbol not found: _R_CStackLimit
  Referenced from: /Library/Python/2.5/site-packages/_rpy2111.so
  Expected in: flat namespace
 in /Library/Python/2.5/site-packages/_rpy2111.so

      RPy module can not be imported. Please check if your rpy
      installation supports R 2.11.1. If you have multiple R versions
      installed, you may need to set RHOME before importing rpy. For
      example:
  
      >>> from rpy_options import set_options
      >>> set_options(RHOME='c:/progra~1/r/rw2011/')
      >>> from rpy import *
**********************************************************************

Please note that I have also download the latest rpy2 and that works find
with the current R.  Thus the issue most likely related with rpy setup.  Or
maybe there is an older version of R that is compatible with rpy1.0.3?  If
so, which version?

Any insight would be of great help!

Regards

Aliha
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to