<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
ciao,<br>
<br>
io (finora) non avevo problemi lanciando R
("C:/Programmi/R/R-2.9.0/bin/Rgui") dalla riga di comando di GRASS.
<br>
<br>
Si apriva la GUI di R e si poteva caricare allora la library
spgrass6<br>
<br>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>14</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Tabella normale";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;">>
library(spgrass6)</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;">Carico il
pacchetto richiesto: sp</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Carico il pacchetto richiesto: rgdal</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Geospatial Data Abstraction Library
extensions to R
successfully loaded</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Loaded GDAL runtime: GDAL 1.6.0, released
2008/12/04</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Path to GDAL shared files:
C:/Programmi/R/R-2.9.0/library/rgdal/gdal</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Loaded PROJ.4 runtime: Rel. 4.6.1, 21
August 2008</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Path to PROJ.4 shared files:
C:/Programmi/R/R-2.9.0/library/rgdal/proj</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;">Carico il
pacchetto richiesto: XML</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;">GRASS GIS
interface loaded with GRASS version: 6.4.0svn</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">and location: AtlanteBG</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB"><br>
Ora invece, con la versione di R 2.12.1 mi viene prodotto il
seguente messaggio:</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">> library(spgrass6)<br>
Carico il pacchetto richiesto: sp<br>
Carico il pacchetto richiesto: rgdal<br>
Error : .onLoad failed in loadNamespace() for 'rgdal', details:<br>
call: fun(...)<br>
error: <br>
GDAL Error 1: Can't load requested DLL:
C:\OSGeo4W\apps\gdal-17\bin\gdalplugins\gdal_MrSID.dll<br>
126: Impossibile trovare il modulo specificato.<br>
</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">Errore: pacchetto 'rgdal' non caricato<br>
</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB"><br>
anche se il modulo gdal_MrSID.dll è nella directory corretta e
le maiuscole/minuscole sono corrette?</span></p>
<p class="MsoNormal"><br>
Qualche idea di come mai non funziona?<br>
<span style="font-size: 11pt; font-family: Arial;" lang="EN-GB"></span></p>
<p class="MsoNormal"><br>
<span style="font-size: 11pt; font-family: Arial;" lang="EN-GB"></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB">grazie</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
Arial;" lang="EN-GB"><br>
roberto<br>
</span></p>
<br>
Il 21/02/2011 11.09, Luca Cinquepalmi ha scritto:
<blockquote cite="mid:4D6239EF.8040806@planetek.it" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
Salve,<br>
sto cercando di interfaccaire grass6 con R. L'installazione e il
caricamento delle librerie è andato a buon fine, ma non riesco a
creare la location che desidero. Se eseguo il comando<br>
<br>
l<small>oc <- initGRASS("C:/GRASS-64",
gisdbase="C:/GRASSdata/MARTE", location=zone1,
mapset=cinquepalmi, override=TRUE)<br>
</small><br>
e poi edito <small>loc</small> mi compare la seguente schermata<br>
<br>
<small>> loc<br>
gisdbase C:/DOCUME~1/CINQUE~1/IMPOST~1/Temp/RtmpxC36dV<br>
location file1e943340<br>
mapset filed444d4a<br>
rows 1<br>
columns 1<br>
north 1<br>
south 0<br>
west 0<br>
east 1<br>
nsres 1<br>
ewres 1<br>
projection NA</small><br>
<br>
Mi crea sempre la location in una cartella temporanea. Come posso
imporre la mia location? C'è un errore nel comando initGRASS?
grazie a tutti<br>
<br>
Luca<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Iscriviti all'associazione GFOSS.it: <a class="moz-txt-link-freetext" href="http://www.gfoss.it/drupal/iscrizione">http://www.gfoss.it/drupal/iscrizione</a>
<a class="moz-txt-link-abbreviated" href="mailto:Gfoss@lists.gfoss.it">Gfoss@lists.gfoss.it</a>
<a class="moz-txt-link-freetext" href="http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss">http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss</a>
Questa e' una lista di discussione pubblica aperta a tutti.
Non inviate messaggi commerciali.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell'Associazione GFOSS.it.
502 iscritti all'11.2.2011</pre>
</blockquote>
</body>
</html>