
Last chance! 50% off unlimited learning
Sale ends in
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")
Run the code above in your browser using DataLab