str2expression {backports}R 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")

[Package backports version 1.1.10 Index]