Skip to contents

The access of environment included in qenv@env allows to e.g. list object names included in qenv@env slot.

Usage

get_env(object)

Arguments

object

(qenv)

Value

An environment stored in qenv@env slot.

Examples

q <- qenv()
q1 <- within(q, {
  a <- 5
  b <- data.frame(x = 1:10)
})
get_env(q1)
#> <environment: 0x56215ddb8a88>
ls(get_env(q1))
#> [1] "a" "b"