0

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:
Error message

Code that raises error:
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

benson23
  • 16,369
  • 9
  • 19
  • 38
  • A larger code snippet might help.. Could it be an environment issue: https://stackoverflow.com/questions/23790452/using-jags-parallel-from-within-a-function-r-language-error-in-getname-envir – CzechInk Dec 09 '20 at 16:55
  • 2
    Please don't post screenshots of plain text; most importantly, they're not accessible to non-sighted people but it makes it impossible for anyone to cut'n'paste to reproduce locally, so you're chances for getting help is significantly lowered. – HenrikB Dec 10 '20 at 01:21

0 Answers0