Saving progress

Please also provide the following information in addition to your question:

  • Operating System: Windows 10
  • brms Version: 2.4.3

I have zero control over when my work computer will restart for updates and it often restarts in the middle of work I’ve left running overnight. I’ve thought lately about how it would be nice if I could enter as an argument into brm a filepath and an interation number N so brm would write a .Rdata file every N iterations containing the current value of the brm object if it were written that iteration. I used to do this when I would write my MCMC code all myself and it was a lifesaver. Does this functionality exist and I missed it?

Not currently implemented in Stan itself so no, first the state needs to be output in a roundtrip- safe way, then there’s some wrapper code to write… not hard, just a lot of roadblocks to reworking the io.