This might be because Rpy2 doesn't seem to look in all the same places
that R does... what about specifying the library location when using
library... though this isn't a solution for the plugin, it might help to
narrow down the problem...
?library
Carson
This might be a clue:
require(iplots) does not work from within the manageR console
(Carson?):
> require(iplots)
Error: package 'rJava' could not be loaded
while it works from a normal R console
(ubuntu 9.04, R. 2.10)
Agus
Volkan Kepoglu wrote:
I assumed that the problem is related with pywin32 but your OS is
ubuntu, so the problem should be related with either rpy2 or iplot
package in R or with java.
actually, i do not know the solution.
regards,
volkan.
On Sun, Dec 13, 2009 at 12:44 PM, Agustin Lobo <[email protected]
<mailto:[email protected]>> wrote:
But I still get the error on ubuntu 9.04 despite having
rJava available in R (2.10):
Traceback (most recent call last):
File "/home/alobo/.qgis//python/plugins/SDA4PP/sda4pp.py", line
163, in doIplotTool
d = iplot.IplotTool(self.iface)
File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 64,
in __init__
self.readInputFile()
File "/home/alobo/.qgis//python/plugins/SDA4PP/iplot.py", line 357,
in readInputFile
errorChecking = sda4ppLoadRpackage.readLib("iplot")
File
"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
line 58, in readLib
result += loadIplot(r)
File
"/home/alobo/.qgis//python/plugins/SDA4PP/sda4ppLoadRpackage.py",
line 143, in loadIplot
r.require("iplots")
File
"/usr/local/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
line 422, in __call__
res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error: package 'rJava' could not be loaded
Agus
Volkan Kepoglu wrote:
finally, cleaning the upgrade and the glitches in the plugin gui
under linux is completed - i think.
please, update the plugin to rev. 0,151.
regards,
volkan.
On Wed, Dec 9, 2009 at 11:52 PM, Paolo Cavallini
<[email protected] <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>>
wrote:
Please note: the upgrade seems not to be clean. I keep on
having the
plugin
marked as upgradeable, even after the upgrade. This has
already
happened in
the past.
Thanks Volkan!
------------------------------------------------------------------------
_______________________________________________
Qgis-user mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/qgis-user
--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
National University of Ireland, Maynooth,
Email: [email protected]
Web: http://www.carsonfarmer.com/
http://www.ftools.ca/
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user