Skip to content
Prev 326054 / 398503 Next

Lexical scoping is not what I expect

I second Ellison sentiments of "almost never".  One main reason is readability on later 
viewing.
Yes, as Duncan says global variables can sometimes be handy and make functions quick to 
write, but using a formal argument in the call is always clearer.

Terry Therneau
On 06/27/2013 05:00 AM, r-help-request at r-project.org wrote: