<div dir="ltr">I forgot to mention that I am using GRASS 7.1 (rev 61757, had it before with rev 61413, but I think I had a similar problem about a year ago).<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 27, 2014 at 10:13 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">When running several r.mapcalc in a loop (via R) the function stops with an error:<br><div><br>ERROR: Error reading null row 2725 for <MASK><br><br></div><div>The row number varies. This seems to happen at random, and when I repeat the same r.mapcalc calculation that stopped with the error before, things run without problem. <br>

<br></div><div>I tried after removing the mask, and this time no problem so it may have to do something with the MASK? (as these error messages only occur once in a while, I can't be completely sure it only happens when a MASK is defined).<br>

<br>I ran it through R, using the execGRASS() function of the spgrass6 package. I ran the same, but using the system call instead of execGRASS. Still got the same error messages. I therefore guess this has nothing to do with R?<br>

</div></div>
</blockquote></div><br></div>