I installed ubuntu 10.04 to setup similar environment to replicate the error. I am so successful for environment that the same error (Error: package 'rJava' could not be loaded) also occured in my new environment, but not fixing the error. :-)<br>
<br>rJava (or iplots) can be loaded in r-cran but not in my plug-in for now, sorry, but if i could find the solution, I will let you know.<br><br>volkan.<br><br><div class="gmail_quote">On Tue, Sep 7, 2010 at 4:30 PM, Agustin Lobo <span dir="ltr"><<a href="mailto:alobolistas@gmail.com">alobolistas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi!<br>
I have installed all R components for SDA4P but if I select<br>
<br>
Components/R packages<br>
package iplots is selected as missing.<br>
<br>
Nevertheless, if I open an R console I can load iplots with no problem-<br>
<br>
Also, if I run qgis from a terminal, I get:<br>
<br>
Loading required package: rJava<br>
Error : .onLoad failed in loadNamespace() for 'rJava', details:<br>
  call: dyn.load(file, DLLpath = DLLpath, ...)<br>
  error: unable to load shared library<br>
'/usr/local/lib/R/site-library/rJava/libs/rJava.so':<br>
  libjvm.so: cannot open shared object file: No such file or directory<br>
Error: package 'rJava' could not be loaded<br>
LoadRlib | loadIplot | iplots load error.<br>
Loading required package: gstat<br>
LoadRlib | loadAutomap | automap package loaded.<br>
<br>
So it seems that the problem is rJava, but I can require(rJava) in a R session<br>
with no problem. Could it be that the test is not correctly done or do<br>
I have a problem<br>
on my side?<br>
<br>
Thanks!<br>
<br>
Agus<br>
</blockquote></div><br>