Hi everybody,
I am a newcomer to R, Qgis and Mac, so I have a long
way to go to understand Python, Xcode, Terminal, etc..
I tried to
install SDA4PP 0.125 (Spatial Data Analysis for Point Pattern with R) to
run Home Range Analysis (specifically Kernel analysis) but it failed
because rpy2.robjects was missing. I tried to install it and couldn't find
it.
When I try to run Home Range Analysis (Kernell adusted h) I
received the following message in Python console:
An error has
occured while executing Python code:

Traceback (most recent
call last):
 File
"/Users/gustavocanale/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 76, in 
 QObject.connect(self.buttonBox,
SIGNAL("accepted()"), lambda mth=mth:
self.run(mth))
 File
"/Users/gustavocanale/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 178, in run
 if not
robjects.r.require(i)[0]:
NameError: global name 'robjects' is not
defined

Python version:
2.5.1 (r251:54863, Jun 17 2009,
20:37:34) 
[GCC 4.0.1 (Apple Inc. build 5465)]

Python
path:['/Applications/Qgis.app/Contents/MacOS/../Resources/python',
'/Users/gustavocanale/.qgis//python/plugins',
'/Applications/Qgis.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/2.5/site-packages/geos',
'/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages',
'/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',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC',
'/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/gustavocanale/.qgis/python/plugins/GdalTools/tools',
'/usr/share/qgis/python']
Could you let me know what to do?
I guess I should install Rpy2 but I couldn't find a working link, and
also I don't know if I just have to install it in Utilities in Mac.
Many tks
Gustavo
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user