[Qgis-user] Home Range plug-in problem
Giovanni Manghi
giovanni.manghi at faunalia.pt
Sun Feb 19 08:48:33 PST 2012
Hi,
see this screencast
http://ubuntuone.com/p/zon/
the issues:
rpy2 for Windows is no longer mantained so,
*) it must be used an old version of R (<= 2.11.1)
*) python in osgeo4w was updated to 2.7 but -for the above reason- there
is not binary of rpy2 for py 2.7... so, as soon as a new QGIS standalone
installer will be created, the support for R based plugins under Windows
will be lost (ManageR, Home Range and SDA4PP), as it already happened in
qgis/osgeo4w.
It is unclear to me if there are alternatives to rpy2. The rpy2
developer would need some support to restart supporting Windows builds,
so every person that is interested in not losing such tools under
Windows should make an effort.
cheers
-- Giovanni --
On Sun, 2012-02-19 at 10:40 -0600, Manuel Spínola wrote:
> Dear forum members,
>
>
> I am working with QGIS 1.7.3. and R 2.14.1 and I have problems
> installing and woking with the Home Range plug-in. Do you know a
> solution?
>
>
> The error message:
>
>
> Unable to locate R.dll within C:\Program Files\R\R-2.14.1
>
>
>
>
>
>
> Couldn't load plugin 'HomeRange_plugin' from
> ['C:/PROGRA~2/QUANTU~2/apps/qgis/./python',
> 'C:/Users/Manuel/.qgis/python',
> 'C:/Users/Manuel/.qgis/python/plugins',
> 'C:/PROGRA~2/QUANTU~2/apps/qgis/./python/plugins', 'C:\PROGRA~2
> \QUANTU~2\bin\python25.zip', 'C:\PROGRA~2\QUANTU~2\apps\Python25
> \DLLs', 'C:\PROGRA~2\QUANTU~2\apps\Python25\lib', 'C:\PROGRA~2
> \QUANTU~2\apps\Python25\lib\plat-win', 'C:\PROGRA~2\QUANTU~2\apps
> \Python25\lib\lib-tk', 'C:\PROGRA~2\QUANTU~2\apps\qgis\bin', 'C:
> \PROGRA~2\QUANTU~2\apps\Python25', 'C:\PROGRA~2\QUANTU~2\apps\Python25
> \lib\site-packages', 'C:\PROGRA~2\QUANTU~2\apps\Python25\lib
> \site-packages\win32', 'C:\PROGRA~2\QUANTU~2\apps\Python25\lib
> \site-packages\win32\lib', 'C:\PROGRA~2\QUANTU~2\apps\Python25\lib
> \site-packages\Pythonwin', 'C:\PROGRA~2\QUANTU~2\apps\Python25\lib
> \site-packages\wx-2.8-msw-unicode', '.', 'C:\Users\Manuel\.qgis\python
> \plugins\mmqgis/forms', 'C:\PROGRA~2\QUANTU~2\apps\qgis\python\plugins
> \fTools\tools']
>
> Traceback (most recent call last):
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 117, in loadPlugin
> __import__(packageName)
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 283, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "C:/Users/Manuel/.qgis/python/plugins\HomeRange_plugin
> \__init__.py", line 37, in
> from HRplugin_main import HRPlugin
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 283, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "C:/Users/Manuel/.qgis/python/plugins\HomeRange_plugin
> \HRplugin_main.py", line 37, in
> from HRplugin_dialog import Dialog
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 283, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "C:/Users/Manuel/.qgis/python/plugins\HomeRange_plugin
> \HRplugin_dialog.py", line 45, in
> import rpy2.robjects as robjects
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 283, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "C:\PROGRA~2\QUANTU~2\apps\Python25\lib\site-packages\rpy2
> \robjects\__init__.py", line 12, in
> import rpy2.rinterface as rinterface
> File "C:/PROGRA~2/QUANTU~2/apps/qgis/./python\qgis\utils.py", line
> 283, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "C:\PROGRA~2\QUANTU~2\apps\Python25\lib\site-packages\rpy2
> \rinterface\__init__.py", line 52, in
> raise RuntimeError("Unable to locate R.dll within %s" % R_HOME)
> RuntimeError: Unable to locate R.dll within C:\Program Files\R
> \R-2.14.1
>
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
>
>
> QGIS version:
> 1.7.3-Wroclaw Wroclaw, 00624b3
>
> Python path: ['C:/PROGRA~2/QUANTU~2/apps/qgis/./python',
> 'C:/Users/Manuel/.qgis/python',
> 'C:/Users/Manuel/.qgis/python/plugins',
> 'C:/PROGRA~2/QUANTU~2/apps/qgis/./python/plugins', 'C:\\PROGRA~2\
> \QUANTU~2\\bin\\python25.zip', 'C:\\PROGRA~2\\QUANTU~2\\apps\\Python25
> \\DLLs', 'C:\\PROGRA~2\\QUANTU~2\\apps\\Python25\\lib', 'C:\\PROGRA~2\
> \QUANTU~2\\apps\\Python25\\lib\\plat-win', 'C:\\PROGRA~2\\QUANTU~2\
> \apps\\Python25\\lib\\lib-tk', 'C:\\PROGRA~2\\QUANTU~2\\apps\\qgis\
> \bin', 'C:\\PROGRA~2\\QUANTU~2\\apps\\Python25', 'C:\\PROGRA~2\
> \QUANTU~2\\apps\\Python25\\lib\\site-packages', 'C:\\PROGRA~2\
> \QUANTU~2\\apps\\Python25\\lib\\site-packages\\win32', 'C:\\PROGRA~2\
> \QUANTU~2\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\
> \PROGRA~2\\QUANTU~2\\apps\\Python25\\lib\\site-packages\\Pythonwin',
> 'C:\\PROGRA~2\\QUANTU~2\\apps\\Python25\\lib\\site-packages\
> \wx-2.8-msw-unicode', '.', 'C:\\Users\\Manuel\\.qgis\\python\\plugins\
> \mmqgis/forms', 'C:\\PROGRA~2\\QUANTU~2\\apps\\qgis\\python\\plugins\
> \fTools\\tools']
>
>
> --
> Manuel Spínola, Ph.D.
> Instituto Internacional en Conservación y Manejo de Vida Silvestre
> Universidad Nacional
> Apartado 1350-3000
> Heredia
> COSTA RICA
> mspinola at una.ac.cr
> mspinola10 at gmail.com
> Teléfono: (506) 2277-3598
> Fax: (506) 2237-7036
> Personal website: Lobito de río
> Institutional website: ICOMVIS
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list