<div dir="auto"><div>Hi Bernardo,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Bernardo Santos via grass-user <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>> schrieb am Fr., 5. Nov. 2021, 08:45:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">when using rgrass7 and rmarkdown, is there a way of avoiding showing the percentage of processingo of each command within execGRASS?</div><div dir="ltr">It might get really polluted, mainly when I perform a loop or many processings.</div><div dir="ltr">See the figure below:</div><div dir="ltr"><img title="Imagem incorporada" alt="Imagem incorporada" src="cid:e71af37b-b72b-dd3b-9c9c-eba8d50a8b86@yahoo.com" style="max-width:504px;width:100%"><br><span></span><br>I tried adding "message = FALSE, warning = FALSE" to the chunks, but it does not work.</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">GRASS GIS itself offers a shell variable to set the message style:</div><div dir="auto"><br></div><div dir="auto"><a href="https://grass.osgeo.org/grass78/manuals/variables.html#list-of-selected-(grass-related)-shell-environment-variables">https://grass.osgeo.org/grass78/manuals/variables.html#list-of-selected-(grass-related)-shell-environment-variables</a></div><div dir="auto"><br></div><div dir="auto"><dt style="font-family:arial,sans-serif;background-color:rgb(255,255,255)">GRASS_MESSAGE_FORMAT</dt><dd style="font-family:arial,sans-serif;font-size:medium;background-color:rgb(255,255,255)">[various modules, wxGUI]<br>it may be set to either<ul><li><tt>standard</tt> - sets percentage output and message formatting style to standard formatting,</li><li><tt>gui</tt> - sets percentage output and message formatting style to GUI formatting,</li><li><tt>silent</tt> - disables percentage output and error messages,</li><li><tt>plain</tt> - sets percentage output and message formatting style to ASCII output without rewinding control characters.</li></ul></dd></div><div dir="auto"><br></div><div dir="auto">In HPC and cloud computing we commonly use "plain". It prints the percentage like this</div><div dir="auto"><br></div><div dir="auto">0..10..20..</div><div dir="auto"><br></div><div dir="auto">and doesn't use control characters.</div><div dir="auto"><br></div><div dir="auto">HTH,</div><div dir="auto">Markus</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr"><br></div><div dir="ltr">Best</div><div dir="ltr">Bernardo<br><span></span><br></div></div></div>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank" rel="noreferrer">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div></div>