powered by
Create the folder for checkingpointing, which will "house" additional folders for the .stan model, checkpointing information, and draws from the posterior distribution.
.stan
create_folder(folder_name = "cp_folder", path = NULL)
Character string. Desired name for the "parent" folder (defaults to checkpoint).
checkpoint
Character string, when specified. Defaults to NULL, which then makes the folder in the working directory.
NULL
No return value, and instead creates a directory with folders that will contain the checkpointing samples and other information.
# NOT RUN { path <- create_folder(folder_name = "cp_folder") # remove folder unlink("cp_folder", recursive = TRUE) # }
Run the code above in your browser using DataLab