blob: 22d28c378ea1485e6a6426a7341e4b87d5e5ca3a (
plain) (
blame)
1
2
3
4
5
6
7
|
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)'.
|