[Qgis-user] Problem with SDA4PP/Linked Statistical Display
Agustin Lobo
alobolistas at gmail.com
Wed Dec 16 08:48:14 PST 2009
Then it seems that this shared problem between manageR and SDA4PP
has to be consulted in the rpy list. I let you do it.
On my side, I'm making some tests. I've found this weird behavior:
Outside manageR:
> require(rJava)
Loading required package: rJava
> search()
[1] ".GlobalEnv" "package:rJava" "package:stats"
[4] "package:graphics" "package:grDevices" "package:utils"
[7] "package:datasets" "package:methods" "Autoloads"
[10] "package:base"
Within manageR:
> require(rJava)
Loading required package: rJava
> search()
[1] ".GlobalEnv" "package:stats" "package:graphics"
[4] "package:grDevices" "package:utils" "package:datasets"
[7] "package:methods" "Autoloads" "package:base"
and also within manageR:
> library(rJava, lib.loc="/usr/local/lib/R/site-library")
Error: package/namespace load failed for 'rJava'
which works fine outside manageR.
Agus
Carson Farmer wrote:
> 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 <alobolistas at gmail.com
>>> <mailto:alobolistas at gmail.com>> 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
>>> <cavallini at faunalia.it <mailto:cavallini at faunalia.it>
>>> <mailto:cavallini at faunalia.it <mailto:cavallini at faunalia.it>>>
>>> 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
>>> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>>
>>>
>>>
>>
>
>
More information about the Qgis-user
mailing list