<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 10:18 GMT+01:00 matteo <span dir="ltr"><<a href="mailto:matteo.ghetta@gmail.com" target="_blank">matteo.ghetta@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">non trova i due pacchetti indicatati sopra (rgdal e raster).<br>
devi installarli in R e poi riprovare (non credo tu debba neanche<br>
riavviare QGIS)<br>
<br>
facci sapere</div></blockquote></div><br><div class="gmail_default" style="font-family:garamond,serif;font-size:large">ecco cosa ho fatto:</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large">su R:</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large">pacchetti>installa pacchetti... (è comparso una lunga lista di pacchetti, ho selezionato ed installato i due mancanti 'rgdal' e 'raster' e si è installato altre dipendenze);</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large">ho fatto delle prove per verificare l'installazione su R , ok!!!</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:garamond,serif;font-size:large">il problema persiste in QGIS anche dopo riavvio.</div><div class="gmail_default" style="font-family:garamond,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:garamond,serif;font-size:large">allego un video <a href="http://1drv.ms/1jwN2Hv">http://1drv.ms/1jwN2Hv</a></div><div class="gmail_default" style="font-family:garamond,serif;font-size:large"> log:</div><p style="margin:0px">2015-12-01T11:18:24 0 Comandi di esecuzione R</p>
<p style="margin:0px"> options("repos"="<a href="http://cran.at.r-project.org/">http://cran.at.r-project.org/</a>")</p>
<p style="margin:0px"> .libPaths("C:/Users/Salvatore/.qgis2/processing/rlibs")</p>
<p style="margin:0px"> tryCatch(find.package("rgdal"), error=function(e) install.packages("rgdal", dependencies=TRUE))</p>
<p style="margin:0px"> tryCatch(find.package("raster"), error=function(e) install.packages("raster", dependencies=TRUE))</p>
<p style="margin:0px"> library("raster")</p>
<p style="margin:0px"> library("rgdal")</p>
<p style="margin:0px"> Layer = readOGR("C:/Users/SALVAT~1/AppData/Local/Temp/processinge3a257f474f947698f3294b03f34e87e/d7ebbee8dfc442188429be15aee0825a",layer="elementipi")</p>
<p style="margin:0px"> Field="dativ18_harm"</p>
<p style="margin:0px"> png("C:/Users/Salvatore/Desktop/r/numero_armature.html.png")</p>
<p style="margin:0px"> hist(Layer[[Field]],main=paste("Histogram of",Field),xlab=paste(Field))</p>
<p style="margin:0px"> dev.off()</p>
<p style="margin:0px">2015-12-01T11:19:09 0 Comandi di esecuzione R</p>
<p style="margin:0px"> options("repos"="<a href="http://cran.at.r-project.org/">http://cran.at.r-project.org/</a>")</p>
<p style="margin:0px"> .libPaths("C:/Users/Salvatore/.qgis2/processing/rlibs")</p>
<p style="margin:0px"> tryCatch(find.package("rgdal"), error=function(e) install.packages("rgdal", dependencies=TRUE))</p>
<p style="margin:0px"> tryCatch(find.package("raster"), error=function(e) install.packages("raster", dependencies=TRUE))</p>
<p style="margin:0px"> library("raster")</p>
<p style="margin:0px"> library("rgdal")</p>
<p style="margin:0px"> Layer = readOGR("C:/Users/SALVAT~1/AppData/Local/Temp/processinge3a257f474f947698f3294b03f34e87e/da0ec27909b04ddd9e5af81d19bc0ce4",layer="elementipi")</p>
<p style="margin:0px"> Field="dativ18_c_mors"</p>
<p style="margin:0px"> Summary_statistics<-data.frame(rbind(sum(Layer[[Field]]),</p>
<p style="margin:0px"> length(Layer[[Field]]),</p>
<p style="margin:0px"> length(unique(Layer[[Field]])),</p>
<p style="margin:0px"> min(Layer[[Field]]),</p>
<p style="margin:0px"> max(Layer[[Field]]),</p>
<p style="margin:0px"> max(Layer[[Field]])-min(Layer[[Field]]),</p>
<p style="margin:0px"> mean(Layer[[Field]]),</p>
<p style="margin:0px"> median(Layer[[Field]]),</p>
<p style="margin:0px"> sd(Layer[[Field]])),row.names=c("Sum:","Count:","Unique values:","Minimum value:","Maximum value:","Range:","Mean value:","Median value:","Standard deviation:"))</p>
<p style="margin:0px"> colnames(Summary_statistics)<-c(Field)</p>
<div class="gmail_default" style="font-family:garamond,serif;font-size:large"><span style="font-family:arial,sans-serif;font-size:small">Summary_statistics</span></div><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="2"><font face="garamond, serif"><b>Salvatore Fiandaca</b><br><b>mobile</b>.:<a href="tel:%2B39%20327.493.8955" value="+393274938955" target="_blank">+39 327.493.8955</a> <br><b>m</b>: <b><a href="mailto:pigrecoinfinito@gmail.com" target="_blank">pig<span></span><span></span>recoinfinito@gmail.com</a></b></font></font></div><div dir="ltr"><font face="garamond, serif"><font size="2">43°51'0.54"N 10°34'27.62"E - EPSG:4326</font></font></div><div dir="ltr"><font face="garamond, serif"><font size="2"></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>