I am running some JAGS models using the runjags
package for R. I run R through Rstudio on a remote server. Recently,I started getting this error on long model runs (> 30 minutes). It doesn't happen every run, but more than 50% of runs. Furthermore, I can run identical code and it happens some times but not others. This tells me it may be a server issue rather than a JAGS or runjags
issue per se. Any guesses? I don't even know where to find these log files the error message references.
Error: The following error was encountered while attempting to run the JAGS model:
One or more rjags sessions failed with the following error:
Error in unserialize(node$con) : error reading from connection
The worker log file (which may also help with debugging) is:
starting worker pid=8549 on localhost:11467 at 16:54:51.985
starting worker pid=8550 on localhost:11467 at 16:54:52.028
starting worker pid=8551 on localhost:11467 at 16:54:52.072
NOTE: Stopping adaptation
NOTE: Stopping adaptation
NOTE: Stopping adaptation
Have you remembered to specify all required modules and factories?