str2expression: Backport of str2expression for R < 3.6.0

View source: R/str2expression.R

str2expressionR Documentation

Backport of str2expression for R < 3.6.0

Description

See the original description in base::str2expression.

Usage

str2expression(text)

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
str2expression <- getFromNamespace("str2expression", "backports")

str2expression("x[3] <- 1+4")

mllg/backports documentation built on March 15, 2023, 8:07 p.m.