<div>Hi Gilbert,</div>
<div> </div>
<div>There ist more than one way. I will tell you the way that works for me:</div>
<div>0. Be sure your Rgui.exe are in the windows path like</div>
<div>   C:\Program Files (x86)\R\R-2.9.0\bin</div>
<div>1. Start grass/MSYS (sorry, I am on windows).</div>
<div>2. Connect to you mapseet</div>
<div>3. inside MSYS shell type:</div>
<div>   Rgui.exe&amp;</div>
<div>4. Inside R you can run your scripts like:</div>
<div>   #this is on R</div>
<div>   require(spgrass6)</div>
<div>   gmeta6()</div>
<div>   myMap=readRAST6(...)</div>
<div>   summary(myMap)</div>
<div>   system(&quot;g.list.exe rast&quot;)</div>
<div> </div>
<div>-- But I know that the way I do are not updated :-)</div>
<div> </div>
<div>cheers</div>
<div> </div>
<div>milton</div>
<div><br><br> </div>
<div class="gmail_quote">2010/4/16 Gilbert Ferrara <span dir="ltr">&lt;<a href="mailto:gilbertferrara1974@gmail.com">gilbertferrara1974@gmail.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Good Morning 
<div><br></div>
<div>I need to do something similar to what Neteler/Mitasova do in their book with spgrass6 and R. Since I will have to perform this a couple of times I want to build a simple Script with input/output GUI. But I have never seen a GRASS Bash script that calls R and spgrass6. So my question is? Does anyone have/knows one? If not, I just need to send to the command line exacly the same commands? e.g. R , summary(data) )</div>

<div><br></div>
<div>Thanks</div>
<div>Gilbert</div><br>_______________________________________________<br>grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br></blockquote></div><br>