Learn R Programming

sketch (version 1.1.20.3)

parse_expr: Parse R code

Description

Parse R code

Usage

parse_expr(x)

Arguments

x

Text containing expressions to parse_expr for parse_expr() and parse_exprs(). Can also be an R connection, for instance to a file. If the supplied connection is not open, it will be automatically closed and destroyed.

Examples

Run this code
parse_expr("x <- 1 + 1")

Run the code above in your browser using DataLab