[R] evaluate a expression

Ning Ma pningma at gmail.com
Sat May 2 14:39:23 CEST 2009


I am new to R. Can anyone tell me how to evaluate an expression stored
in a string?
such as:
> expr <- "3*5"
I want to get the result 15.

Thanks in advance.

More information about the R-help mailing list