Skip to content
Prev 61743 / 63421 Next

question about an R idiom: eval()ing a quoted block

On 11/07/2023 6:01 p.m., Ben Bolker wrote:
Those examples are very old (the second is at least 20 years old).  It 
may be they were written by someone who was thinking in S rather than in 
R.

As far as I recall (but I might be wrong), S didn't have the same 
scoping rules for accessing and modifying local variables in a function 
from a nested function.

Duncan Murdoch