str2expression {backports} | R Documentation |
See the original description in base::str2expression
.
str2expression(text)
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
str2expression <- getFromNamespace("str2expression", "backports")
str2expression("x[3] <- 1+4")