- 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
I found a (temporary) solution:
- Download the sources from rpy.sf.net join(RHOME. strip() , 'include'), '/usr/share/ R/include/ ', linux-i686- 2.5/_rpy2051. so to /usr/lib/ python- 2.5/site- packages
- 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.
- export RHOMES=/usr/lib/R
- run 'python setup.py build'
- copy build/lib.
Thats it!