R/chkpt-helpers.R
reset_checkpoints.Rd
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)
(character) The path to the checkpoint folder.
(logical) If TRUE, only the checkpoint folders are deleted
(logical) If TRUE, the entire folder is deleted allowing for
a fresh start. If both reset
and recompile
are FALSE
,
nothing is done.