unstash: Unstash an object

View source: R/unstash.R

unstashR Documentation

Unstash an object

Description

Remove one or more objects from the stash.

Usage

unstash(var, single_var, verbose = NULL)

Arguments

var

The name or a vector of names of objects to remove.

single_var

Specifies a single name (key) to remove. Use this when the object was stashed using an arbitrary object as the key.

verbose

Whether to print action statements (default TRUE).

Value

Returns NULL (invisibly).

Examples


stash("x", {
  x <- 1
})

unstash("x")

stash(list(letters, cars), { 7 }, functional = TRUE)  # styler: off
unstash(single_var = list(letters, cars))

#' # Remove directory for this example - do not do in real use.
unlink(".mustashe", recursive = TRUE)



jhrcook/mustashe documentation built on Oct. 13, 2022, 3:37 p.m.