[Qgis-developer] R plugins

Paolo Cavallini cavallini at faunalia.it
Wed Jun 3 12:54:49 EDT 2009


Volkan Kepoglu ha scritto:

Hi Volkan.
Still errors. Apparently they occur when only a point layer without a
numeric column is available.
See below.
Thanks a lot.
pc
===
An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/paolo/.qgis//python/plugins/SDA4PP/sda4pp.py", line 92, in
doDensityTool
    d = density.DensityTool(self.iface)
  File "/home/paolo/.qgis//python/plugins/SDA4PP/density.py", line 59,
in __init__
    self.readInputFile()
  File "/home/paolo/.qgis//python/plugins/SDA4PP/density.py", line 223,
in readInputFile
    filePolyBaseName=self.filePolyBaseName, readBandwidth=1)
  File "/home/paolo/.qgis//python/plugins/SDA4PP/densityRpart.py", line
42, in doSpatialAnalysis
    s = r("rect   File
"/usr/lib/python2.5/site-packages/rpy2/robjects/__init__.py", line 535,
in __call__
    res = self.eval(p)
  File "/usr/lib/python2.5/site-packages/rpy2/robjects/__init__.py",
line 422, in __call__
    res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error in `[.data.frame`(x at data, i, j, ..., drop = FALSE) :
  selezionate colonne non definite


Python version:
2.5.4 (r254:67916, Feb 18 2009, 03:17:34)
[GCC 4.3.3]

Python path:['/usr/share/qgis/python',
'/home/paolo/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.5/site-packages/geopy-0.93-py2.5.egg',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/usr/lib/pymodules/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/usr/lib/pymodules/python2.5/gtk-2.0',
'/usr/share/qgis/python/plugins/fTools/tools', '/usr/share/qgis/python',
'/home/paolo/.qgis//python/plugins/GeoCoding']
-- 
Paolo Cavallini: http://www.faunalia.it/pc


More information about the Qgis-developer mailing list