Lexical scope and statistical computing

Citation
R. Gentleman et R. Ihaka, Lexical scope and statistical computing, J COMPU G S, 9(3), 2000, pp. 491-508
Citations number
5
Categorie Soggetti
Mathematics
Journal title
JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS
ISSN journal
10618600 → ACNP
Volume
9
Issue
3
Year of publication
2000
Pages
491 - 508
Database
ISI
SICI code
1061-8600(200009)9:3<491:LSASC>2.0.ZU;2-4
Abstract
Programming environments such as S and Lisp-Stat have languages for perform ing computations, data storage mechanisms, and a graphical interface. These languages provide an interactive interface to data analysis that is invalu able. To take full advantage of these programming environments, statisticia ns must understand the differences between them. Ihaka and Gentleman introd uced R, a version of S which uses a different scoping regimen. In some ways this makes R behave more like Lisp-Stat. This article discusses the concep t of scoping rules and shows how lexical scope can enhance the functionalit y of a language.