[R] Transforming a string into a command

Victor vdemart at gmail.com
Sun Nov 27 11:16:03 CET 2011


I would like to make a string executable, e.g,

s<- "ln(a+b)"
a<-1
b<-2

???? execute string s to obtain ln(a+b) ????

How can I make it?

Ciao fron Rome
Vittorio



More information about the R-help mailing list