restore: Restores a backed up object

Description Usage Arguments Examples

View source: R/restore.R

Description

Function takes the name of the object and checks if there is a backup of it; if there is, restores it.

Usage

1
restore(object)

Arguments

object

the object to restore (use the original name, not the one with "_bak").

Examples

1
2
3
4
(test <- 1:10)
backup(test)
(test <- 11:20)
(restore(test))

mtcruz/mtcruzr documentation built on Dec. 26, 2019, 11:04 p.m.