as.symbols {memisc} | R Documentation |
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.
as.symbols(x) syms(...,paste=FALSE,sep="")
x |
a character vector |
... |
character strings or (unquoted) variable names |
paste |
logical value; should the character strings
|
sep |
a separator string, passed to |
A list of language symbols (results of as.symbol
- not graphical
symbols!).
as.symbols(letters[1:8]) syms("a",1:3,paste=TRUE) sapply(syms("a",1:3,paste=TRUE),typeof)