[rkward-users] [rkward - Help] RE: RKWard won't start (libRlapack.so)
SourceForge.net
noreply at sourceforge.net
Tue Sep 9 16:03:38 UTC 2008
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5247821
By: nono_231
Dear fsando & studentz,
As far as I remember libRlapack.so was not available at the official debs of
Debian and Ubuntu. I say as far as I remember because I compile R for long time
now.
One option is to add
deb http://my.favorite.cran.mirror/bin/linux/ubuntu hardy/
where at my.favorite.cran.mirror add you favorite and closer mirror e.g.
deb http://cran.r-project.org/bin/linux/ubuntu hardy/
This probably will have libRlapack.so, although not tested.
the second option is to compile R yourself. I do not remember again surely but
one of the libraries in the lib directory of R was missing the deb files. So
I made a small script to install R correctly:
#!/bin/bash
./configure --enable-R-shlib --enable-mbcs && make
Untar the file, if you want rename it to R, and run the script in the R fodler.
This way you can have a topically installed R. In order to have libRlapack.so
and tk you have to have installed the libraries. The ./configure will help you
see what is missing. I see that I have installed libblas3gf and and liblapack3gf.
For Tk you need tk-dev, tcl-dev, for java support sun-java6-jdk. The
./configure
script will warn you with what is missing anyhow. However if it is not critical
it will compile and install without it.
After running the above script somewhere in your home e.g. Projects, you have
two options. One to make a shortcut to the /usr/bin:
cd /usr/bin
sudo ln -s ~/Projects/R/bin/R ./
This way R is can be run from there using the R command as usual.
Otherwise you can make
sudo make install
and install to your system. The first way is more handy at upgrading.
I hope something of the above can help you
Kind Regards,
Ilias
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=165574
More information about the Rkward-users
mailing list