Description Usage Value Examples
View source: R/versionR.R View source: R/restore_all_vars.R
Restores the latest timestamped version of any R object in the save_all_vars subdirectory. To avoid restoring objects you no longer need, manually delete them from the subdirectory before using this function.
1 2 3
restore_all_vars( Versions_dir = file.path(getwd(), "Env", "Versions", "save_all_vars") )
Backups saved in your working directory at ../Env/Versions/ are restored as objects to your Global Environment. Any objects in the Global Environment with the same variable name will be replaced/overwritten so backups should be made if needed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.