[Qgis-developer] manageR problems
John C. Tull
john.tull at wildnevada.org
Mon Feb 16 11:21:44 EST 2009
Carson,
I am trying to use the manageR plugin with qgis trunk. I believe I
have the necessary dependencies in place, although I'm not sure if
your plugin only works with rpy versus rpy2. I'm using the R 2.8.1
binary for OS X.
Here is the output that I receive when I try to load a vector layer
from qgis to R with the plugin:
An error has occured while executing Python code:
Traceback (most recent call last):
File "/Users/jctull/.qgis//python/plugins/manageR/domanageR.py",
line 373, in load
self.convert(inName)
File "/Users/jctull/.qgis//python/plugins/manageR/domanageR.py",
line 386, in convert
self.getSpatialDataFrame(mlayer)
File "/Users/jctull/.qgis//python/plugins/manageR/domanageR.py",
line 284, in getSpatialDataFrame
self.updateObs()
File "/Users/jctull/.qgis//python/plugins/manageR/domanageR.py",
line 228, in updateObs
exec "check = r(''' capture.output(class(" + i + ")[1]) ''')"
File "", line 1, in
File "/Library/Python/2.5/site-packages/rpy.py", line 322, in
__call__
return self.eval(self.parse(text=s))
RPy_RException: Error in function (file = "", n = NULL, text = NULL,
prompt = "?", srcfile = NULL, :
unexpected '/' in " capture.output(class(/"
Python version:
2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
Python path:['/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/
python', '/Users/jctull/.qgis//python/plugins', '/Applications/
qgis1.1.0.app/Contents/MacOS/share/qgis/python/plugins', '/Library/
Frameworks/GDAL.framework/Versions/1.6/Python/site-packages', '/
Library/Python/2.5/site-packages/Shapely-1.0.4-py2.5.egg', '/Library/
Python/2.5/site-packages/simplejson-1.9.2-py2.5-macosx-10.5-i386.egg',
'/Library/Python/2.5/site-packages/nose-0.11.0.dev_r560-py2.5.egg', '/
Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg', '/
Library/Python/2.5/site-packages/matplotlib-0.98.6svn-py2.5-
macosx-10.3-i386.egg', '/Library/Python/2.5/site-packages/pymc-2.0rc2-
py2.5-macosx-10.3-i386.egg', '/Library/Python/2.5/site-packages/
pytz-2008i-py2.5.egg', '/Library/Python/2.5/site-packages/py2app-0.3.6-
py2.5.egg', '/Library/Python/2.5/site-packages/pyparsing-1.5.1-
py2.5.egg', '/Library/Python/2.5/site-packages/psycopg2-2.0.8-py2.5-
macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/
PyOpenGL-3.0.0b8-py2.5.egg', '/usr/local/lib/wxPython-unicode-2.8.9.1/
lib/python2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/
lib/python2.5/site-packages/wx-2.8-mac-unicode', '/System/Library/
Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/System/
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/
System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-
scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/
2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/lib-tk', '/System/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/
Python/2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/
lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/
2.5/Extras/lib/python/PyObjC', '/Applications/qgis1.1.0.app/Contents/
MacOS/share/qgis/python/plugins/ftools/tools']
Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090216/b50850df/attachment-0001.html
More information about the Qgis-developer
mailing list