Re: [R] list of symbols to substitution

2009-09-16 Thread Michael Spiegel
a solution that uses a single eval expression? --Michael On Wed, Sep 16, 2009 at 1:31 AM, Schalk Heunis wrote: > Instead of eval(expr), use lapply(expr,eval) > HTH > Schalk Heunis > > > On Wed, Sep 16, 2009 at 5:50 AM, Michael Spiegel > wrote: >> >> Hi, &

[R] list of symbols to substitution

2009-09-15 Thread Michael Spiegel
Hi, I'm trying to use a list of symbols as one of the values to be substituted in a substitute expression, but I can't figure out how to write the correct expression for my problem. Let me illustrate a simple example of what I'm trying to do. The following code snippet will evaluate to '5': sym