Hi folks,
I'm afraid I've strayed outside my skill level, but perhaps
someone here has been through something similar. I'm currently
running R 2.7.1 as downloaded from the pre-compiled Mac binary. I'd
like to connect my Python code directly to R without making use of
temporary files, and I was hoping the use the RPy package
(rpy_version = "1.0-RC3") to do so.
The initial setup.py script seems to work OK with the usual mix
of odd Python errors, but nothing fatal looking. However, when I
attempt to import rpy, bad things happen (see below). Thoughts? My
suspicion is that this may be related to having something wrong with
the shared libraries, bit, but since this came from binary (and I'm a
novice at this in any event), I can't be sure. Any insight would be
greatly appreciated.
Thanks,
David
----THE ERROR-----
In [1]: import rpy
RHOME= /Library/Frameworks/R.framework/Resources
RVERSION= 2.7.1
RVER= 2071
RUSER= /Users/dagarfield
Loading Rpy version
2071 ..-----------------------------------------------------------------
----------
<type 'exceptions.ImportError'> Traceback (most recent call
last)
/Users/dagarfield/Desktop/rpy-1.0-RC3/<ipython console> in <module>()
/Users/dagarfield/Desktop/rpy-1.0-RC3/rpy.py in <module>()
115 sys.stdout.flush()
116
--> 117 exec("import _rpy%s as _rpy" % RVER)
118 try:
119 pass
/Users/dagarfield/Desktop/rpy-1.0-RC3/<string> in <module>()
<type 'exceptions.ImportError'>: dlopen(/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/
_rpy2071.so, 2): Symbol not found: _KillAllDevices
Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/_rpy2071.so
Expected in: dynamic lookup
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list