Comment 6 for bug 128180

Revision history for this message
Diwaker Gupta (diwaker) wrote :

I found a (temporary) solution:

- Download the sources from rpy.sf.net
- Make sure you have all dependencies installed (sudo apt-get install r-base-dev python-all-dev)
- Modify setup.py, line 132 as follows:
include_dirs = [ os.path.join(RHOME.strip(), 'include'), '/usr/share/R/include/',
- export RHOMES=/usr/lib/R
- run 'python setup.py build'
- copy build/lib.linux-i686-2.5/_rpy2051.so to /usr/lib/python-2.5/site-packages

Thats it!