I wish to evaluate a vector of strings containing arithmetic expressions -- \"1+2\", \"5*6\", etc.
I know that I can parse a single string into an expression and t
Just apply the whole function.
sapply(foo, function(x) eval(parse(text=x)))