<div dir="ltr"><div dir="ltr"><div>Hi Felipe</div><div><br></div><div>what about gmeta()? If grass is running, it gives you location and region metadata, otherwise it rises an error... <br></div><div><br></div><div>Or you could also ask in the grass-stats list: <a href="https://lists.osgeo.org/mailman/listinfo/grass-stats">https://lists.osgeo.org/mailman/listinfo/grass-stats</a><br></div><div><br></div><div>HTH, <br></div><div>Vero<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">El mié., 10 oct. 2018 a las 17:09, Felipe Carrillo (<<a href="mailto:mazatlanmexico@yahoo.com">mazatlanmexico@yahoo.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_3113871873597778483ydp66547bc8yahoo-style-wrap" style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div><div><span><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:rgb(0,0,0)">Hi;</div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:rgb(0,0,0)">I usually start GRASS from my RConsole as so:</div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:rgb(0,0,0)"><br></div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:rgb(0,0,0)"><div>#perform initial GRASS setup</div><div>initGRASS("C:\\OSGeo4W64\\apps\\grass\\grass-7.4.1", home = getwd(), gisDbase = "GRASS_TEMP", mapset = "PERMANENT", override = TRUE)</div><div><br></div><div>and I never had problems until last week. I was getting errors and couldn't figure out why. Later on I came to find out that my GRASS instance was closed.</div><div>I don't know why GRASS unexpectedly close without notification. With that said, is there a way in R to check if GRASS is still running in the background?</div><div>I can probably manually check my task manager to see if there is a process running but in a more elegant way I want to do it from R. </div></div></span><br></div><div><br></div><div class="m_3113871873597778483ydp66547bc8signature"><div>Felipe D. Carrillo</div><div>Supervisory Fishery Biologist</div><div>Department of the Interior</div><div>US Fish & Wildlife Service</div><div>California, USA</div><div><a href="http://www.fws.gov/redbluff/rbdd_jsmp.html" rel="nofollow" target="_blank">http://www.fws.gov/redbluff/rbdd_jsmp.html</a><br></div></div></div></div></div>_______________________________________________<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="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></blockquote></div>