Deletes all checkpoint files and folders under path except for stan_model/model.stan and stan_model/model.exe. This allows you to restart the sampling from 0 without recompiling the model.

reset_checkpoints(path, reset = TRUE, recompile = FALSE)

Arguments

path

(character) The path to the checkpoint folder.

reset

(logical) If TRUE, only the checkpoint folders are deleted

recompile

(logical) If TRUE, the entire folder is deleted allowing for a fresh start. If both reset and recompile are FALSE, nothing is done.