Learn R Programming

listenv (version 0.9.1)

get_variable: Get name of variable for a specific element of list environment

Description

Get name of variable for a specific element of list environment

Usage

get_variable(...)

# S3 method for listenv get_variable(x, name, mustExist = FALSE, create = !mustExist, ...)

Value

The name of the underlying variable

Arguments

x

A list environment.

name

The name or index of element of interest.

mustExist

If TRUE, an error is generated if name does not exist.

create

If TRUE, element name is created if missing.