Hmm.
Does rerunning the install make a difference?
-G
On May 14, 2008, at 4:44PM , Manu Hack wrote:
Hi,
I just installed R and rpy on Opensuse 10.3. I managed to get it
work once. But then all of a sudden it won't work again. Here is
the info.
I compiled R-2.7.0 with configure --enable-R-shlib. And it's
installed in the standard location, /usr/local/lib64/R
$ls /usr/local/lib64/R/lib
libRblas.so libRlapack.so libR.so
So I can run R.
$ R
> version
_
platform x86_64-unknown-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 2
minor 7.0
year 2008
month 04
day 22
svn rev 45424
language R
version.string R version 2.7.0 (2008-04-22)
Now, on python, I try to import rpy and get
> python
Python 2.5.1 (r251:54863, Jan 10 2008, 18:00:49)
[GCC 4.2.1 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append('/home/kcma/local/lib64/python2.5/site-packages')
>>> from rpy_options import set_options
>>> set_options(VERBOSE=True)
>>> import rpy
RHOME= /usr/local/lib64/R
RVERSION= 2.7.0
RVER= 2070
RUSER= /home/manu
Loading Rpy version 2070 ..
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/manu/local/lib64/python2.5/site-packages/rpy.py",
line 134, in <module>
""" % RVERSION)
RuntimeError: libR.so: cannot open shared object file: No such file
or directory
RPy module can not be imported. Please check if your rpy
installation supports R 2.7.0. 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 *
Weird enough, I managed to sucessfully run rpy once but later on
this error persists. Let me know if you want more info.
Manu
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
<ATT4163478.txt>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list