[R] how can I evaluate a formula passed as a string?
peter.langfelder at gmail.com
Thu Jun 24 19:29:07 CEST 2010
On Thu, Jun 24, 2010 at 10:16 AM, Mike Williamson <this.is.mvw at gmail.com> wrote:
> Hey everyone,
> I've been using 'R' long enough that I should have some idea of what the
> heck either expression() or eval() are really ever useful for. I come
> across another instance where I WISH they would be useful, but I cannot get
> them to work.
Example: eval(parse(text = "3*3"))
More information about the R-help