Skip to content
Prev 168809 / 398506 Next

sub question

Gabor Grothendieck wrote:
th some additional boring pedantry wrt. ?gsubfn, which says:
They are still free variables, subject to the same rules of variable 
lookup. Wacek is right: The RHS is scanned recursively for objects of 
mode "name" _except_ when they appear as function names (i.e. if 
subexpression e is mode "call", then forget e[[1]] and look at the 
arguments in as.list(e)[-1]. Not sure if this also happens if e[[1]] is 
not a name, e.g. in f(a)(b), do you get both a and b or just b?)

He is also right that it is pedantry...