listenv (version 0.7.0)

listenv: Create a list environment

Description

Create a list environment

Usage

listenv(...)

as.listenv(...)

Arguments

(optional) Named and/or unnamed objects to be assigned to the list environment.

Value

An environment of class listenv.

Examples

Run this code
# NOT RUN {
x <- listenv(c = 2, a = 3, d = "hello")
print(names(x))
names(x)[2] <- "A"
x$b <- 5:8

y <- as.list(x)
str(y)

z <- as.listenv(y)
# }

Run the code above in your browser using DataCamp Workspace