Open naalipalo opened 3 years ago
Hello,
If your models take longer than ~1 hour to run, I'd be saving the jags.mod
objects individually within the loop as .rds
files so you don't lose anything. I probably wouldn't run output_JAGS
to reduce the possibility for errors to stop the loop. When they all finish you can load them into R for diagnostics and output.
Ive been running 13 models since 10am 2 days ago. I've got 1 left and my work computer is going to auto-restart in 1 hour...I don't think my last model will finish. Which means, though I have generated the output for at least 12 of them, I have not "saved" any jags.mod in the looped iterative process to which I can load that data back in. I can easily add and remove models to an already created jags.mod, but have no idea if we can use the generated output files to put back in enough to run the LOO table analysis. When you stop it in the middle of running, nothing is saved and output_JAGS doesn't exist.