[R] unable to load library rJava on my Ubuntu 9.04

Lazarus Mramba LMramba at kilifi.kemri-wellcome.org
Tue Aug 18 13:55:29 CEST 2009

Dear all,

I have been running R-2.9.1 on Windows without any problem. I decided to run it on my Ubuntu 9.04 where i have R-2.8.1 and I have a problem loading the package JGR because it cannot load the dependancy rJava. This is a cool editor I would wish to use while on Ubuntu.

Here is a copy of the errors i get:

Loading required package: rJava
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared library '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
  libjvm.so: cannot open shared object file: No such file or directory
Error : .onLoad failed in 'loadNamespace' for 'rJava'
Error: package 'rJava' could not be loaded

This means I managed to download the rJava package   '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
  libjvm.so       ... but It cannot be loaded. What do I do?

Problem 2: I have tried in vain to get the newer R version of 2.9.1.   I keep on getting the 2.8.1.  I have read the instructions from the R site but I seem not to be there. What do I do?

Kind regards,
Lazarus Mramba,
KEMRI/Wellcome trust research Institute,Kilifi, Kenya
This e-mail (including any attachment to it) contains information
which is confidential. It is intended only for the use of the named
recipient. If you have received this e-mail in error, please let us know
by replying to the sender, and immediately delete it from your system.
Please note, that in these circumstances, the use, disclosure,
distribution or copying of this information is strictly prohibited. We
apologize for any inconvenience that may have been caused to you.
KEMRI-Wellcome Trust Programmecannot accept any responsibility for the accuracy
or completeness of this message as it has been transmitted over a public
network. KEMRI-Wellcome Trust Programme reserves the right to monitor all incoming and
outgoing email traffic. Although the Programme has taken reasonable
precautions to ensure no viruses are present in emails, it cannot
accept responsibility for any loss or damage arising from the use of the
email or attachments. Any views expressed in this message are those of
the individual sender, except where the sender specifically states them
to be the views of KEMRI- Wellcome Trust Programme.

More information about the R-help mailing list