Skip to content
Back to formatted view

Raw Message

Message-ID: <20190925090242.zgua52gcxkbf6ph3@x60s.casa>
Date: 2019-09-25T09:02:42Z
From: Francesco Ariis
Subject: static vs. lexical scope

Dear R users/developers,
while ploughing through "An Introduction to R" [1], I found the
expression "static scope" (in contraposition to "lexical scope").

I was a bit puzzled by the difference (since e.g. Wikipedia conflates the
two) until I found this document [2].

Maybe the Introduction should link to it (or similar page) with text
"In case you are interest in the difference between static and lexical
scope, check this explanation"?
Thanks
-F

[1] https://cran.r-project.org/doc/manuals/r-release/R-intro.html#Scope
[2] https://cran.r-project.org/doc/misc/lexical.tex