parse {reflections} R Documentation

Parse Expressions

Description


parse returns the parsed but unevaluated expressions in a list.

Usage

parse(text);

Arguments

text

character vector. The text to parse. Elements are treated as if they were lines of a file. Other R objects will be coerced to character if possible. [as string]

Details

If text has length greater than zero (after coercion) it is used in preference to file. All versions Of R accept input from a connection With End Of line marked by LF (As used On Unix), CRLF (As used On DOS/Windows) Or CR (As used On classic Mac OS). The final line can be incomplete, that Is missing the final EOL marker.

Authors

SMRUCC genomics Institute

Value

An object of type "expression", with up to n elements if specified as a non-negative integer. A syntax error (including an incomplete expression) will throw an error. Character strings In the result will have a declared encoding If encoding Is "latin1" Or "UTF-8", Or If text Is supplied With every element Of known encoding In a Latin-1 Or UTF-8 locale.

clr value class

Examples


[Package reflections version 2.33.856.6961 Index]