n></span></span>
<span class="r-in"><span>  <span class="co"># Execute 'r.stats' with legacyExec and print the result</span></span></span>
<span class="r-in"><span>  <span class="va">res</span> <span class="op">&lt;-</span> <span class="fu">execGRASS</span><span class="op">(</span></span></span>
<span class="r-in"><span>    <span class="st">"r.stats"</span>,</span></span>
<span class="r-in"><span>    input <span class="op">=</span> <span class="st">"fire_blocksgg"</span>,</span></span>
<span class="r-in"><s