<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>