restore_all_vars: restore_all_vars

Description Usage Value Examples

View source: R/versionR.R View source: R/restore_all_vars.R

Description

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.

Usage

1
2
3
restore_all_vars(
  Versions_dir = file.path(getwd(), "Env", "Versions", "save_all_vars")
)

Value

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.

Examples

1

brendan-newlon/versionR documentation built on Sept. 16, 2020, 8:41 p.m.