Thanks 

Solution found


Fixed:
a. run as root the sudo R CMD javareconf
(not as simple user)

b. then install rJava from tar.gz




________________________________
 From: Sarah Goslee <sarah.goslee@gmail.com>

Cc: R help <R-help@r-project.org> 
Sent: Thursday, May 17, 2012 2:44 PM
Subject: Re: [R] Is there R 2.4 version_

Hi Alaios,

The web page you're quoting was written in 2006. There *was* an R 2.4,
but it's no longer cutting edge, to say the least.

Earlier in the document it says R 2.4 or higher, which is what you've
got. I'd first look for newer documentation, then try the instructions
given with the current version of R you already have installed.

Sarah


> Dear all,
> I am trying to install the rJava package.
> I am getting the following message
>
> "libjvm.so: cannot open shared object file: No such file or directory"
>
> at this web site I have found that (bottom part)
> http://rwiki.sciviews.org/doku.php?id=packages:cran:rjava
>
> that
>
>
>
> Unix: if you encounter a message similar to this one:
> Error in dyn.load(x, as.logical(local), as.logical(now)) :  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
> the R was configured without Java support. Update to R 2.4.0, make sure that the java command is available and  and run R CMD javareconf as root.
>
>
>
> I have already installed any java package in my system + now I was a bout to see what is my current running R version
>
>
> platform       x86_64-suse-linux-gnu
> arch           x86_64
> os             linux-gnu
> system         x86_64, linux-gnu
> status
> major          2
> minor          15.0
> year           2012
> month          03
> day            30
> svn rev        58871
> language       R
> version.string R version 2.15.0 (2012-03-30)
>
>
>
> so I decided to install the R2.4 as the package developer ask for...
> Could you please inform me if such version even exists_
>
> Alex

-- 
Sarah Goslee
http://www.functionaldiversity.org
	[[alternative HTML version deleted]]

