listenv v0.8.0


Monthly downloads



Environments Behaving (Almost) as Lists

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)'.

Functions in listenv

Name Description
dim_na Set the dimension of an object
undim Removes the dimension of an object
get_variable Get name of variable for a specific element of list environment
names.listenv Names of elements in list environment
parse_env_subset Helper function to infer target from expression and 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
length.listenv Number of elements in list environment
$<-.listenv Set an element of list environment
No Results!

Vignettes of listenv

No Results!

Last month downloads


VignetteBuilder R.rsp
License LGPL (>= 2.1)
LazyLoad TRUE
RoxygenNote 7.0.2
NeedsCompilation no
Packaged 2019-12-05 19:44:24 UTC; hb
Repository CRAN
Date/Publication 2019-12-05 21:40:02 UTC
suggests markdown , R.rsp , R.utils
depends R (>= 3.1.2)

Include our badge in your README