Description Usage Arguments Value
A saveRDS with atomic write and backup support
1 2 | saveRDS_robust(dt, fpath, backup_on_overwrite = TRUE, allowZero = FALSE,
...)
|
dt |
The object to save |
fpath |
The path to save the object |
backup_on_overwrite |
Whether to keep a backup when overwriting an existing file |
allowZero |
Whether to save zero length objects |
... |
The dots are passed to saveRDS |
TRUE if successful, a negative value if it fails
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.