don't add the library, just the path to it:
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/R/lib/
Robert
From: David Montgomery [mailto:dmontgom...@brandscreen.com]
Sent: Wednesday, 9 March 2011 3:46 PM
To: Denham Robert
Hi,
Below is what I did in Ubuntu to no avail.
locate libR.so
/usr/lib/R/lib/libR.so
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/R/lib/libR.so
python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more informatio
I think the third option is likely to be the simplest for you.
First off, find where libR.so actually is. Its probably somewhere like
/usr/lib/R/lib/ but at the comand line you can type R RHOME to see the
base of this path.
At home under ubuntu, mine is in /usr/lib/R/lib/ and at work it is in
/op
can t get rpy to work because of this
ImportError: libR.so: cannot open shared object file: No such file or
directory
•make a link to R_HOME/bin/libR.so in /usr/local/lib, or in some
other location that your system knows as a standard place for libraries;
then run 'ldconfig' as root;
I can t get rpy to work because of this
ImportError: libR.so: cannot open shared object file: No such file or
directory
- make a link to R_HOME/bin/libR.so in /usr/local/lib, or in some other
location that your system knows as a standard place for libraries; then run
'ldconfig' as root;