[Qgis-user] ManageR under Windows.

Guillaume Larocque glaroc at gmail.com
Tue Nov 15 10:03:33 PST 2011


Hi, I am trying to run ManageR under Windows 7. I have installed QGIS with
the Standalone installer and I also tried the OSGeo4W installer. I get the
error message found below. I have tried to set the R_HOME environmental
variable in Windows to different values (/bin,/i386,/x64, etc) and I always
get this message.

Any help is appreciated,

Thank you,

Guillaume

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/Guillaume/.qgis/python/plugins\manageR\plugin.py", line
58, in run
    from manageR import MainWindow, loadConfig, saveConfig
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Guillaume/.qgis/python/plugins\manageR\manageR.py", line
68, in
    import rpy2.robjects as robjects
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\OSGeo4W\apps\Python25\lib\site-packages\rpy2\robjects\__init__.py",
line 12, in
    import rpy2.rinterface as rinterface
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\OSGeo4W\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:\Progra~1\R\R-2.12.1\bin\i386

Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]


QGIS version:
1.7.1-Wroclaw Wroclaw, e6718b6

Python path: ['C:/OSGeo4W/apps/qgis/./python',
'C:/Users/Guillaume/.qgis/python',
'C:/Users/Guillaume/.qgis/python/plugins',
'C:/OSGeo4W/apps/qgis/./python/plugins',
'C:\\Windows\\system32\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
'C:\\OSGeo4W\\apps\\Python25\\lib',
'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\\bin',
'C:\\OSGeo4W\\apps\\Python25',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'/usr/share/qgis/python',
'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111115/eb6cf4d0/attachment.html>


More information about the Qgis-user mailing list