Learn R Programming

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

listenv (version 0.5.0)

Environments Behaving (Almost) as Lists

Description

List environments are environments that can be indexed similarly to lists, e.g. 'x <- listenv(); x[[2]] <- "b"; names(x)[2] <- "B"; print(x$B)'.

Copy Link

Version

Install

install.packages('listenv')

Monthly Downloads

290,685

Version

0.5.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

October 30th, 2015

Functions in listenv (0.5.0)

get_variable

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

Variable name map for elements of list environment
length.listenv

Number of elements in list environment
listenv

Create a list environment
as.list.listenv

List representation of a list environment
parse_env_subset

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

Set an element of list environment
$.listenv

Get elements of list environment
names.listenv

Names of elements in list environment