parse {base} | R Documentation |
parse
returns the parsed but unevaluated expressions in a
list. Each element of the list is of mode expression
.
parse(file = "", n = NULL, text = NULL, prompt = NULL, white = FALSE)
file |
the name of a file to read the expressions from. If the
|
n |
the number of statements to parse. If |
text |
text to parse, quoted. |
prompt |
the prompt to print when parsing from the keyboard |
white |
if |
scan
, source
, eval
,
deparse
.
# parse 3 statements from the file "xyz.Rdmped"
parse(file = "xyz.Rdmped", n = 3)