Skip to contents

Parses character string to ensure it is valid R code, returning an R "expression" object

Usage

parseRCode(code)

Arguments

code

Character string containing R Code to parse

Value

An expression object

Details

The parseRCode function wraps "parse" and checks to ensure a valid expression is created

Author

Romain Francois, Rich Pugh