View source: R/buildComponent.R
loadOrComputeCheckpoint | R Documentation |
Load or compute a checkpoint
loadOrComputeCheckpoint(
file,
compute_fn,
config,
message_resume = NULL,
message_compute = NULL
)
file |
The file path to load the checkpoint from. |
compute_fn |
The function to compute the checkpoint if it doesn't exist. |
config |
A list containing configuration parameters such as 'resume', 'verbose', and 'saveable'. |
message_resume |
Optional message to display when resuming from a checkpoint. |
message_compute |
Optional message to display when computing the checkpoint. |
The loaded or computed checkpoint.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.