Skip to content
Prev 117482 / 398500 Next

evaluating variables in the context of a data frame

On Thu, 7 Jun 2007, Zack Weinberg wrote:

            
When you call f(o, D), the argument 'o' is evaluated in the current 
environment ('context' in R means something different).  Because of lazy 
evaluation, it is not evaluated until evalq is called, but it evaluated as 
if it was evaluated greedily.

g(quote(o), D) will work.