<br><div><span class="gmail_quote">2006/10/17, Roger Bivand &lt;<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 17 Oct 2006, Raffaele Morelli wrote:<br><br>&gt; Hi everybody.<br>&gt;<br>&gt; I am running Grass6 and R start doing some simple statistical analysis.<br>&gt; I got my vectors connected to a database through a mysql driver.
<br><br>So the point/polygon geometries are in GRASS and the attribute data is in<br>the database? R could also read the attribute tables directly, rather than<br>pulling them through GRASS, if you like, though maintaining integrity will
<br>need watching.</blockquote><div><br>Yes, attribute data are stored in a MySQL db.<br>So I can read and plot those attributes without running R inside a GRASS session. <br>Did I understand?<br>Actually I am trying spgrass6 using readVECT6, but I obtain this error
<br>Error in &quot;row.names&lt;-.data.frame&quot;('*tmp*', value = NULL):<br>&nbsp;invalid lenght in &quot;row.names&quot;<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;<br>&gt; I would like to start plotting maps with graphs on it so I need to fetch<br>&gt; attribute data of layers and represent them as histogram or boxplot.<br>&gt; Can you suggest me some resources?<br>&gt;<br><br>
This isn't very clear - each geometry object has a single observation on<br>each attribute field, so the histograms (for each place - point/polygon)<br>are across multiple fields? To get boxplots, see symbols(), but a good
<br>deal of massaging will need to be done to work across columns rather than<br>down them. For placing histograms, it may be you'll need to go to the<br>gridBase package, documented in Paul Murrell's R Graphics (CRC Press) and
<br>in R News October 2003, Fig. 2 is suggestive of the flexibility.</blockquote><div><br>Ok, it wasn't.<br>I would like to plot data fetched from multiple fields or from different layers. I am going to try both anyway.<br>
<br>Thanks for helping<br></div><br></div><br>