Rdpack (version 0.4-20)

parse_text: Parse expressions residing in character vectors

Description

Parse expressions residing in character vectors.

Usage

parse_text(text, ..., keep = TRUE)

Arguments

text
the text to parse, normally a character vector but can be anything that parse accepts for this artgument.
...
additional arguments to be passed on to parse.
keep
required setting for option keep.source, see details.

Value

an expression representing the parsed text, see link{parse} for details

Details

This is like parse(text=text,...) with the additional feature that if the setting of option "keep.source" is not as requested by argument keep, it is set to keep before calling parse and restored afterwards.

See Also

parse