Debian Codegraph @

man/as.symbols.Rd

raw
1 \name{as.symbols}
2 \alias{as.symbols}
3 \alias{syms}
4 \title{Construction of Lists of Symbols}
5 \description{
6 \code{as.symbols} and \code{syms} are functions potentially useful
7 in connection with \code{foreach} and \code{xapply}.
8 \code{as.symbols} produces a list of symbols from a character vector,
9 while \code{syms} returns a list of symbols from symbols given as arguments,
10 but it can be used to construct patterns of symbols.
11 }
12 \usage{
13 as.symbols(x)
14 syms(\dots,paste=FALSE,sep="")
15 }
16 \arguments{
17 \item{x}{a character vector}
18 \item{\dots}{character strings or (unquoted) variable names}
19 \item{paste}{logical value; should the character strings
20 \code{\link{paste}}d into one string?}
21 \item{sep}{a separator string, passed to \code{\link{paste}}. }
22 }
23 \value{
24 A list of language symbols (results of \code{\link{as.symbol}} - not graphical
25 symbols!).
26 }
27 \examples{
28 as.symbols(letters[1:8])
29 syms("a",1:3,paste=TRUE)
30
31 sapply(syms("a",1:3,paste=TRUE),typeof)
32 }
33 \keyword{programming}