Learn R Programming

⚠️There's a newer version (0.9.1) of this package.Take me there.

listenv (version 0.7.0)

Environments Behaving (Almost) as Lists

Description

List environments are environments that have list-like properties. For instance, the elements of a list environment are ordered and can be accessed and iterated over using index subsetting, e.g. 'x <- listenv(a = 1, b = 2); for (i in seq_along(x)) x[[i]] <- x[[i]] ^ 2; y <- as.list(x)'.

Copy Link

Version

Install

install.packages('listenv')

Monthly Downloads

187,320

Version

0.7.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

January 21st, 2018

Functions in listenv (0.7.0)

$<-.listenv

Set an element of list environment
dim_na

Set the dimension of an object
names.listenv

Names of elements in list environment
parse_env_subset

Helper function to infer target from expression and environment
get_variable

Get name of variable for a specific element of list environment
length.listenv

Number of elements in list environment
as.list.listenv

List representation of a list environment
$.listenv

Get elements of list environment
listenv

Create a list environment
mapping

Variable name map for elements of list environment
undim

Removes the dimension of an object