As many of you have suggested, to evaluate an equation writing in a string or character, one can use eval(parse(text = "your equation"))
as follows:
"1+1"
eval(parse(text = "1+1"))
2
This works very well when you have only one equation. But when you have a vector of equations written as strings/characters, it only evaluates the last equation:
eval(parse(text = c("1+1","2+2","3+3")))
6
How could one evaluate all these expressions and have the vector of results at the end?
c(2,4,6)