get_or_make | R Documentation |
Make an object if it is not available from provided file
get_or_make(save_file, force_new = FALSE, fn, ...)
save_file |
Character. Path to file. This will be loaded to object if it exists |
force_new |
Logical. If TRUE, run function irrespective of existence of saveFile. Otherwise, only run fn if saveFile does not exist. |
fn |
Function. Function to make the object if it saveFile does not exist |
... |
Arguments to function. |
Dataframe. Also, file if it did not previously exist.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.