<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Salve a tutti, ho già inviato un messaggio l'altro giorno ma non
sono ancora riuscito a risolvere il problema, faccio un (breve)
riepilogo:<br>
su Qgis 2.2 non riesco a far funzionare gli scripts di R che trovo
sul toolbox, non ne va neppure uno! <br>
Credo che sia un problema di impostazioni che però non riesco a
risolvere.<br>
<br>
Se provo ad esguire un comando come "kernel h ref" tra quelli
compresi tra gli scripts dell' Home Range Analysis su uno shape file
con dei punti ottengo questo messaggio:<br>
<br>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><small>"Oooops!
The following output layers could not be open</small><small><br>
Home_ranges: <span style=" font-family:'Courier New';
font-size:medium; color:#ff0000;">/tmp/processing/18cdd1c5517c40488cbd1675c3ca0c3a/Homeranges.shp</span><br>
The above files could not be opened, which probably indicates
that they were not correctly produced by the executed algorithm
Checking the log information might help you see why those layers
were not created as expected This algorithm requires R to be
run. A test to check if R is correctly installed and configured
in your system has been performed, with the following result:<br>
<span style=" font-style:italic;">R seems to be correctly
installed and configured</span><br>
The script you have executed needs the following packages:</small><small><br>
adehabitatHR<br>
Make sure they are installed in your R environment before trying
to execute this script."</small><br>
</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">il
pacchetto "adehabitatHR" che mi chiede io ce l'ho installato nella
versione 0.4.11.<br>
</p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">In più nel
messaggio di log tra le varie cose mi dice (e credo che sia la
parte importante):<br>
</p>
Error: gdal-config not found<br>
The gdal-config script distributed with GDAL could not be found.<br>
If you have not installed the GDAL libraries, you can<br>
download the source from <a class="moz-txt-link-freetext" href="http://www.gdal.org/">http://www.gdal.org/</a><br>
If you have installed the GDAL libraries, then make sure that<br>
gdal-config is in your path. Try typing gdal-config at a<br>
shell prompt and see if it runs. If not, use:<br>
--configure-args='--with-gdal-config=/usr/local/bin/gdal-config'<br>
with appropriate values for your installation.<br>
<br>
ERROR: configuration failed for package rgdal<br>
* removing â/home/francesco/R/x86_64-pc-linux-gnu-library/3.0/rgdal<br>
<br>
The downloaded source packages are in<br>
â/tmp/RtmpoBP1gg/downloaded_packages<br>
Warning message:<br>
In install.packages("rgdal", dependencies = TRUE) :<br>
installation of package rgdal had non-zero exit status<br>
tryCatch(find.package("raster"), error=function(e)
install.packages("raster", dependencies=TRUE))<br>
[1] "/home/francesco/R/x86_64-pc-linux-gnu-library/3.0/raster"<br>
library("raster")<br>
Carico il pacchetto richiesto: sp<br>
library("rgdal")<br>
Errore in library("rgdal") : there is no package called rgdal<br>
Esecuzione interrotta<br>
<br>
Io non capisco dove sia il problema? gdal non dovrebbe essere giù
tutto installato in Qgis e il pachetto rgdal di R, credo che abbia
cambiato nome ora è: "gdalUtils" forse è per quello che non lo
riconosce??<br>
<br>
<br>
Il sistema operativo che uso è UBUNTU 12.10<br>
<br>
Qualcuno ha riscontrato un problema simile, o ha quache idea su come
risolverlo?<br>
Grazie a tutti<br>
Francesco Carpita
</body>
</html>