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")

backports documentation built on June 24, 2024, 5:24 p.m.