Skip to content
Prev 38796 / 63424 Next

scoping/non-standard evaluation issue

On Jan 6, 2011, at 13:11 , Kenn Konstabel wrote:

            
Tere, Kenn!

Yes, enforcing pass-by-value by pre-evaluating the argument will certainly defeat the nonstandard evaluation issues. Another version of the same idea is

eval(bquote(update(mod, .(subs)))

The only thing is that if the argument is ever deparsed, you might get a messy display. E.g., try eval(bquote(plot(.(rnorm(20)))))


-pd