File: listenv.Rd

package info (click to toggle)
r-cran-listenv 0.8.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 308 kB
  • sloc: sh: 14; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/listenv.R
\name{listenv}
\alias{listenv}
\alias{as.listenv}
\title{Create a list environment}
\usage{
listenv(...)

as.listenv(...)
}
\arguments{
\item{\dots}{(optional) Named and/or unnamed objects to be assigned to the
list environment.}
}
\value{
An environment of class \code{listenv}.
}
\description{
Create a list environment
}
\examples{
x <- listenv(c = 2, a = 3, d = "hello")
print(names(x))
names(x)[2] <- "A"
x$b <- 5:8

y <- as.list(x)
str(y)

z <- as.listenv(y)
}