Learn R Programming

gooseR (version 0.1.2)

goose_clear_all: Clear all gooseR memory

Description

Clear all gooseR memory

Usage

goose_clear_all(
  confirm = TRUE,
  backup_first = FALSE,
  backup_dir = "goose_backup"
)

Value

Invisible integer count of deleted items

Arguments

confirm

Logical, whether to ask for confirmation (default TRUE)

backup_first

Logical, whether to create backup before clearing

backup_dir

Character, directory for backup if backup_first is TRUE

Examples

Run this code
if (FALSE) {
# Clear all memory with confirmation
goose_clear_all()

# Clear with backup
goose_clear_all(backup_first = TRUE)
}

Run the code above in your browser using DataLab