Skip to contents

Attempts to evaluate a string as a chunk of R code. If that succeeds it will return the result. If not it will return the original text.

Usage

render_str(estr = "")

Arguments

estr

String to render.

Value

String containing the evaled as a character or the original string

Examples

res = render_str(estr="ls()")