Learn R Programming

listenv (version 0.9.1)

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

221,900

Version

0.9.1

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Last Published

January 29th, 2024

Functions in listenv (0.9.1)

mapping

Name map for elements of list environment
aperm.listenv

Transpose a 'listenv' array by permuting its dimensions
as.list.listenv

List representation of a list environment
names.listenv

Names of elements in list environment
$.listenv

Get elements of list environment
dim_na

Set the dimension of an object
$<-.listenv

Set an element of list environment
get_variable

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

Number of elements in list environment
listenv

Create a list environment
parse_env_subset

Helper function to infer target from expression and environment
undim

Removes the dimension of an object