as.symbols
From memisc v0.99.27.3
by Martin Elff
Construction of Lists of Symbols
as.symbols
and syms
are functions potentially useful
in connection with foreach
and xapply
.
as.symbols
produces a list of symbols from a character vector,
while syms
returns a list of symbols from symbols given as arguments,
but it can be used to construct patterns of symbols.
- Keywords
- programming
Usage
as.symbols(x)
syms(…,paste=FALSE,sep="")
Arguments
Value
A list of language symbols (results of as.symbol
- not graphical
symbols!).
Examples
# NOT RUN {
as.symbols(letters[1:8])
syms("a",1:3,paste=TRUE)
sapply(syms("a",1:3,paste=TRUE),typeof)
# }
Community examples
Looks like there are no examples yet.