Rdpack (version 2.6)

parse_text: Parse expressions residing in character vectors

Description

Parse expressions residing in character vectors.

Usage

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

Value

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

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.

Author

Georgi N. Boshnakov

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.

This function is no longer exported by Rdpack since it is here for historical reasons and to avoid unnecessary dependence on gbutils. Use the equivalent gbutils::parse_text instead.

See Also

parse, parse_text in package gbutils