[Qgis-user] help manageR to find the path.......

Darren Norris doon75 at hotmail.com
Sat May 23 17:07:10 PDT 2009


Just installed manageR (0.6.10) on Windows Vista.
Qgis 1.0.2-Kore installed via standalone installer, R version is 2.9.
ManageR installed via the python plugin installer, following Carson's 
guide at: http://www.ftools.ca/install.html

Got a python error (below) and it looks like manageR can't find R.
This is not too surprising as I set HOME, R_USER etc via a Renviron.site 
file.
So R is not in the registry and no environment variables are set.

How do I show manageR where the R.exe file is??
Many thanks,
Darren


An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Users/Darren/.qgis//python/plugins\manageR\manageR.py", line 
49, in run
    import manageRDialog
  File "C:/Users/Darren/.qgis//python/plugins\manageR\manageRDialog.py", 
line 26, in
    from QLayerConverter import QVectorLayerConverter, QRasterLayerConverter
  File 
"C:/Users/Darren/.qgis//python/plugins\manageR\QLayerConverter.py", line 
24, in
    import rpy2.robjects as robjects
  File "C:/Program Files/Quantum 
GIS/./python\rpy2\robjects\__init__.py", line 12, in
    import rpy2.rinterface as rinterface
  File "C:/Program Files/Quantum 
GIS/./python\rpy2\rinterface\__init__.py", line 22, in
    "This might be because R.exe is nowhere in your Path.")
RuntimeError: Unable to determine R version from the registery.Calling 
the command 'R RHOME' does not return anything.
This might be because R.exe is nowhere in your Path.

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Python path:['C:/Program Files/Quantum GIS/./python', 
'C:/Users/Darren/.qgis//python/plugins', 'C:/Program Files/Quantum 
GIS/./python/plugins', 'C:\\Program Files\\Quantum 
GIS\\bin\\python25.zip', '.\\DLLs', '.\\lib', '.\\lib\\plat-win', 
'.\\lib\\lib-tk', 'C:\\Program Files\\Quantum GIS\\bin', 'C:\\Program 
Files\\Quantum GIS\\python\\plugins\\fTools\\tools']



More information about the Qgis-user mailing list