updated with ver. 0.142, could you try that if it is fixed?<div><br></div><div>1. added loading of rJava package function</div><div>2. changed the style of loading of iplot package: first checks the package installed or not</div>
<div>and then loads the package but skips to control the package whether it is loaded or not,</div><div>because, most probably, i think that there is a bug for iplots package. even it is loaded, sometimes do not return true.</div>
<div>for this reason, i prefered not to control the library whether loaded or not.</div><div><br><div class="gmail_quote">On Tue, Dec 8, 2009 at 9:30 PM, Agustin Lobo [via OSGeo.org] <span dir="ltr"><<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4139061&i=0" target="_top" rel="nofollow">[hidden email]</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Dear Volkan,
<br>Thanks for SDA4PP.
<br>When I try to run the Linked Statistical Display in SDA4PP (0.141) (R 2.10)
<br>(QGIS 1.3.0 from ubuntu jaunty binaries) I get the following error
<br>despite having the package rJava installed (also: note that rJava is
<br>not listed among the dependencies):
<br><br>Traceback (most recent call last):
<br>   File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py", line 163, in 
<br>doIplotTool
<br>     d = iplot.IplotTool(self.iface)
<br>   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 64, in __init__
<br>     self.readInputFile()
<br>   File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 357, in 
<br>readInputFile
<br>     errorChecking = sda4ppLoadRpackage.readLib("iplot")
<br>   File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line 
<br>57, in readLib
<br>     result += loadIplot(r)
<br>   File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py", line 
<br>137, in loadIplot
<br>     if (r.require("iplots")[0]):
<br>   File "/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", line 
<br>422, in __call__
<br>     res = super(RFunction, self).__call__(*new_args, **new_kwargs)
<br>RRuntimeError: Error: package 'rJava' could not be loaded
<br><br>Thanks,
<br><br>Agus
<br><br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4134711&i=0" rel="nofollow" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="nofollow" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>

</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Volkan Osman Kepoglu<br>PhD Candidate<br>GGIT Department in METU,<br>http:/<a href="http://ggit.metu.edu.tr" target="_top" rel="nofollow">ggit.metu.edu.tr</a><br>
</div>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Problem-with-SDA4PP-Linked-Statistical-Display-tp4134711p4139061.html">Re: [Qgis-user] Problem with SDA4PP/Linked Statistical Display</a><br>
Sent from the <a href="http://n2.nabble.com/qgis-user-f2036571.html">qgis-user mailing list archive</a> at Nabble.com.<br>