Learn R Programming

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

listenv (version 0.6.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

290,685

Version

0.6.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

December 28th, 2015

Functions in listenv (0.6.0)

get_variable

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

Create a list environment
names.listenv

Names of elements in list environment
as.list.listenv

List representation of a list environment
undim

Removes the dimension of an object
$<-.listenv

Set an element of list environment
length.listenv

Number of elements in list environment
map

Variable name map for elements of list environment
parse_env_subset

Helper function to infer target from expression and environment
$.listenv

Get elements of list environment
$<-.listenv

Set an element of list environment