-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swapnil Chaudhari ha scritto:
> Hi Anne,
> Thanks for developing Home Range Plugin. It seems very impressive and really
> useful in wildlife research.
> I have been trying to load it on my system according to the guidlines given
> on home range wiki. I'm working on QGIS 1.0.2 standalone on MS windows OS.
> 
> I have installed R 2.7.2, 2.8.0, and 2.9.1 along with adehabitat, ade4, sp,
> and rgdal. I also pulled the numpy, rpy2, and pywin32 dependencies from
> OSGeo. After doing this when I start QGIS, it gives following error.
> 
> Couldn't load plugin "HomeRange_plugin" from ['E:/Program Files/Quantum
[...]
> 
> Traceback (most recent call last):
[...]
>    import rpy2.rinterface as rinterface
>  File "E:/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.
> 
> I tried adding path of R.exe in Enviornment variable setting for MS win
> systems. Still the error remains unsolved.
> I would kindly request you to help.

Hi Swapnil,

the error is quite common if you modify R installation after installing
rpy2. Does PATH variable point to R installation, in particular to its
bin folder, like this one: C:\Programs\R\R-2.8.0\bin ?

If this not solves the problem, you can try to use directly rpy2 in the
Python console provided by QGIS (into Plugins menu) and type

import rpy2.robjects as robjects
import rpy2.rinterface as rinterface

and report errors, if any.

What puzzles me is the E: in QGIS installation path - but I don't know
if it's a problem.

Hope this helps and best regards,
Anne

> Best,
> 
> Swapnil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqRTJUACgkQzZ3g4YwFFgbAuwCgoWR6V9pXWTuajEvtyuOg2Cqb
BsUAn36N7wSHlnlTAWaP2V5H6CBMpKjN
=IEOt
-----END PGP SIGNATURE-----
_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov

Reply via email to