as.symbols: Construction of Lists of Symbols

Description Usage Arguments Value Examples

Description

as.symbols and syms are functions potentially useful in connection with Foreach. 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.

Usage

1
2

Arguments

x

a character vector

...

character strings or (unquoted) variable names

paste

logical value; should the character strings pasted into one string?

sep

a separator string, passed to paste.

Value

A list of language symbols (results of as.symbol - not graphical symbols!).

Examples

1
2
3
4

mutils documentation built on May 2, 2019, 4:44 p.m.

Related to as.symbols in mutils...