Hi all,

> So, apparently at this moment the only way to have the plugin working is
> using qgis 1.5 and R 2.9.2.
> 
> This is pretty easy to achieve under Windows, a little less under Ubuntu
> (for example) because the latest releases are shipped with the latest
> versions of R. In any case I haven't tested it under linux yet.


I get a 9.10 Ubuntu machine that ships with R 2.9.2, installed the usual
R packages (thanks to cran2deb because from the R command line ade4 and
others refused to install) and gave a try.

Not surprisingly the plugin throws

-----------------
An error has occured while executing Python code:

Traceback (most recent call last):
  File
"/home/gio/.qgis/python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 75, in 
    QObject.connect(self.buttonBox, SIGNAL("accepted()"), lambda
mth=mth: self.run(mth))
  File
"/home/gio/.qgis/python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 182, in run
    if not robjects.r.require(i)[0]:
  File "/usr/lib/python2.6/dist-packages/rpy2/robjects/__init__.py",
line 422, in __call__
    res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error: This is R 2.9.2, package 'rgdal' needs >= 2.10.0
-----------------

oh yes, rgdal needs R >= 2.10 (but then why under Windows works?).

I then updated R to the latest version (2.11) with the Cran repositories
and gave it a go again.

MCP and NNCH do work, the other methods don't.

-----------------
R error (please consult its documentation) is:
Error in writeOGR(khr.polygons, dir, name, "ESRI Shapefile") : 
  
        GDAL Error 1: Invalid index : -1
-----------------


cheers

-- Giovanni --


_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov

Reply via email to