I want to use the R2Jags parallel model (jags.parallel) to speed up my computations.
The documentation states I need to recompile the model before updating it. However I get a clear error that I don't know how to handle.
Error message:

Code that raises error:

In line 33 M[s] is used and M is defined in the data section. What are possible reasons, that M is no longer defined when recompiling?
Cheers and thanks