> I too find R's lexical scoping rules straightforward. > However, I'd say that if your code relies on lexical scoping to find > something, you should probably rewrite your code.
Except of course that almost every function relies on lexical scoping to some extent! Do you want: f <- function(a, b) a + b or f <- function(a, b, plus) plus(a, b) ? ;) Hadley -- Chief Scientist, RStudio http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.