Following Leo's suggestion I installed GDAL 1.6.3 and I tried again:<br><br>> library(spgrass6)<br>Loading required package: sp<br>Loading required package: rgdal<br>Geospatial Data Abstraction Library extensions to R successfully loaded<br>
Loaded GDAL runtime: GDAL 1.6.3, released 2009/11/19<br>Path to GDAL shared files: /usr/share/gdal16<br>Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008<br>Path to PROJ.4 shared files: (autodetected)<br>Loading required package: XML<br>
GRASS GIS interface loaded with GRASS version: 6.4.0svn<br>and location: nc_spm_08<br><br>(seems OK?)<br><br>> precip <- readVECT6("precip_30ynormals", ignore.stderr)<br>OGR data source with driver: GRASS <br>
Source: "/mnt/GIS/nc_spm_08/PERMANENT/vector/precip_30ynormals/head", layer: "1"<br>with 136 features and 18 fields<br>Feature type: wkbPoint with 3 dimensions<br>(seems OK?)<br><br>When I did<br>> plot(nc_state, axes=TRUE)<br>
> plot(precip30n, add=TRUE, lwd=2, col="brown")<br>Error: object 'precip30n' not found<br>Error in plot(precip30n, add = TRUE, lwd = 2, col = "brown") : <br> error in evaluating the argument 'x' in selecting a method for function 'plot'<br>
THe last plot gave that error<br><br>But would you say that it seems to be working?<br><br>Thank you all for your help and support<br>Thanks<br>Kim<br><br><br>Question: Is there any known problem with GRASS and GDAL1.6.3?<br>
<br><div class="gmail_quote">2010/3/2 Kim Besson <span dir="ltr"><<a href="mailto:kimbesson1981@gmail.com">kimbesson1981@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br></div><div>Ok I reinstalled rgdal</div><div>R CMD INSTALL rgdal</div><div><br></div><div>And then:</div><div>R</div><div>library(spgrass6)</div><div><br></div><div>Output:</div><div><div>Loading required package: sp</div>
<div>Loading required package: rgdal</div><div>Geospatial Data Abstraction Library extensions to R successfully loaded</div><div>Loaded GDAL runtime: GDAL 1.5.4, released 2009/01/07</div><div>Path to GDAL shared files: /usr/share/gdal15</div>
<div>Loaded PROJ.4 runtime: Rel. 4.6.1, 21 August 2008</div><div>Path to PROJ.4 shared files: (autodetected)</div><div>Loading required package: XML</div><div>GRASS GIS interface loaded with GRASS version: 6.4.0svn</div>
<div>
and location: North-Carolina</div><div><br></div><div><div>precip30 <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)</div><div class="im"><div>ERROR: Incompatible library version for module. You need to rebuild GRASS</div>
<div> or untangle multiple installations.</div><div><br></div></div></div></div>Same error. <div>I'm running GRASSsvn6.4.0, from latest week, in a Linux Machine with:</div><div>rgdal_0.6-10</div><div>spgrass6_0.6-15.</div>
<div>R version 2.9.2 (2009-08-24)</div><div><br></div><div>Any idea of what might not be compatible?</div><div><br></div><div>Thank you</div><div>Kim<br><br><div class="gmail_quote"><div class="im">2010/3/2 Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2010/3/2 Kim Besson <<a href="mailto:kimbesson1981@gmail.com" target="_blank">kimbesson1981@gmail.com</a>>:<div>
<div></div><div class="h5"><br>
<div>> Ok I have just installed latest GRASS snapshot and I got the following error<br>
>> precip30n <- readVECT6("precip_30ynormals", ignore.stderr=TRUE)<br>
> ERROR: Incompatible library version for module. You need to rebuild GRASS<br>
> or untangle multiple installations.<br>
> What I would like to know is the versions of R and spgrass6 that I should<br>
> install on my system in order to not get this errors?<br>
<br>
</div>You also need to update the GRASS-GDAL plugin.<br>
<font color="#888888"><br>
Markus<br>
</font></div></div></blockquote></div><br></div>
</blockquote></div><br>