If a simulation using stan gets interrupted in the middle of a run, is it possible to recover the results?

Hi Everyone,

If my sampling using stan is interrupted/terminated in the middle of a run, is it possible to recover the results? or maybe store the partial run onto an Rdata file before it is completely killed?

Or the only option is to start the run from the beginning?

Regards,

You would have to start over, but if you specify the sample_file argument it will write a CSV file of the draws so far to the file you provide.

2 Likes