listenv: Environments Behaving (Almost) as Lists

> library(listenv)

バージョン: 0.5.0


関数名 概略
listenv Create a list environment

listenv

> x <- listenv(c = 2, a = 3, d = "hello")
> x %>% names() %>% print()
[1] "c" "a" "d"
> names(x)[2] <- "A"
> x$b <- 5:8
> x %>% {
+   class(.) %>% print()
+   print(.)
+ }
[1] "listenv"     "environment"
`listenv` with 4 elements: 'c', 'A', 'd', 'b'