<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kim<br>
you have to plot the R object <i>precip,</i> not the grass vector <b>precip30n</b><br>
plot(precip,lwd=2, col="brown") should work!<br>
<br>
Leo<br>
<br>
Kim Besson escribi&oacute;:
<blockquote
 cite="mid:8fb908a31003020953s47ab9fb8g2ab2138b962eb38c@mail.gmail.com"
 type="cite">Following Leo's suggestion I installed GDAL 1.6.3 and I
tried again:<br>
  <br>
&gt; 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>
&gt; precip &lt;- 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>
&gt; plot(nc_state, axes=TRUE)<br>
&gt; 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>
&nbsp; 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">&lt;<a
 moz-do-not-send="true" href="mailto:kimbesson1981@gmail.com">kimbesson1981@gmail.com</a>&gt;</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 &lt;- readVECT6("precip_30ynormals",
ignore.stderr=TRUE)</div>
    <div class="im">
    <div>ERROR: Incompatible library version for module. You need to
rebuild GRASS</div>
    <div>&nbsp;&nbsp; &nbsp; &nbsp; or untangle multiple installations.</div>
    <div><br>
    </div>
    </div>
    </div>
    </div>
Same error.&nbsp;
    <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">&lt;<a
 moz-do-not-send="true" href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>&gt;</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 &lt;<a moz-do-not-send="true"
 href="mailto:kimbesson1981@gmail.com" target="_blank">kimbesson1981@gmail.com</a>&gt;:
      <div>
      <div class="h5"><br>
      <div>&gt; Ok I have just installed latest GRASS snapshot and I
got the following error<br>
&gt;&gt; precip30n &lt;- readVECT6("precip_30ynormals",
ignore.stderr=TRUE)<br>
&gt; ERROR: Incompatible library version for module. You need to
rebuild GRASS<br>
&gt; &nbsp;&nbsp; &nbsp; &nbsp; or untangle multiple installations.<br>
&gt; What I would like to know is the versions of R and spgrass6 that I
should<br>
&gt; 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>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
  </pre>
</blockquote>
<br>
</body>
</html>