<div dir="ltr">Hello Jim, <div><br></div><div>Maybe you should write to grass-stats mailing list, too. Perhaps someone there can provide useful insights/suggestions for your case</div><div><br></div><div>Best, </div><div>Vero </div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-28 12:53 GMT-03:00 Jim Maas <span dir="ltr"><<a href="mailto:j.maas@uea.ac.uk" target="_blank">j.maas@uea.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Using GRASS 7.0.3 on Ubuntu Linux,<br>
<br>
I'm attempting to recreate the example of r.stream.distance shown at<br>
<a href="https://grass.osgeo.org/grass70/manuals/addons/r.stream.distance.html" rel="noreferrer" target="_blank">https://grass.osgeo.org/grass70/manuals/addons/r.stream.distance.html</a><br>
<br>
by passing these comands to GRASS from within an R session.  I can't figure out the correct syntax to pass this command to the system and also GRASS, any suggestions ?<br>
<br>
The original code for GRASS command line in the example is<br>
<br>
# Create outlet<br>
echo "636645,218835" | v.in.ascii -n input=- output=outlet separator=","<br>
<br>
<br>
I've tried lots of combinations of both system() and execGRASS() including this<br>
<br>
system(message ("327500.00,523896.55") | "v.in.ascii", input="-", output="outlet", separator=",", flags=c("n", "overwrite"))<br>
<br>
<br>
<br>
<br>
but have been unsuccessful.<br>
<br>
Any suggestions?<br>
<br>
Thanks, J<span><font color="#888888"><br>
<br>
-- <br>
Dr. Jim Maas<br>
Norwich Medical School<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a></font></span></blockquote></div><br></div></div>