arrow
返回

Object-Oriented Programming, Functional Programming and R

delete2014-05-01
delete18
delete
OA
AI
C
Chambers, John M. *
DOI:10.1214/13-STS452delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
This paper reviews some programming techniques in R that have proved useful, particularly for substantial projects. These include several versions of object-oriented programming, used in a large number of R packages. The review tries to clarify the origins and ideas behind the various versions, each of which is valuable in the appropriate context. R has also been strongly influenced by the ideas of functional programming and, in particular, by the desire to combine functional with object oriented programming. To clarify how this particular mix of ideas has turned out in the current R language and supporting software, the paper will first review the basic ideas behind object-oriented and functional programming, and then examine the evolution of R with these ideas providing context. Functional programming supports well-defined, defensible software giving reproducible results. Object-oriented programming is the mechanism par excellence for managing complexity while keeping things simple for the user. The two paradigms have been valuable in supporting major software for fitting models to data and numerous other statistical applications. The paradigms have been adopted, and adapted, distinctively in R. Functional programming motivates much of R but R does not enforce the paradigm. Object-oriented programming from a functional perspective differs from that used in non-functional languages, a distinction that needs to be emphasized to avoid confusion. R initially replicated the S language from Bell Labs, which in turn was strongly influenced by earlier program libraries. At each stage, new ideas have been added, but the previous software continues to show its influence in the design as well. Outlining the evolution will further clarify why we currently have this somewhat unusual combination of ideas.
Keyword:
Programming languages
functional programming
object-oriented programming
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Statistical Science 封面图
Statistical Science
IF:
3.4
论文数:
1.0K
被引数:
10.0K

机构

暂无机构信息
引用论文

引用论文

err分享
err收藏
err分享
err收藏
A critical appraisal of polymer–clay nanocomposites
err2007-01-01
err0
PREAI
errBiqiong Chen; Julian Evans; H. Chris Greenwell; Pascal Boulet; Peter V. Coveney; A. Bowden; Andrew Whiting
err分享
err收藏
err分享
err收藏
Alcohol Craving Scale Based on Three Factors
err2009-03-30
err0
PREAI
errMonica Jimenez; José Luis Graña; Victoria Montes; Gabriel Rubio
err分享
err收藏
Bioconductor: open software development for computational biology and bioinformatics
err2004-09-15
err1.1W
errOAAI
errGentleman, RC; Carey, VJ; Bates, DM; Bolstad, B; Dettling, M; Dudoit, S; Ellis, B; Gautier, L; Ge, YC; Gentry, J; Hornik, K; Hothorn, T; Huber, W; Iacus, S; Irizarry, R; Leisch, F; Li, C; Maechler, M; Rossini, AJ; Sawitzki, G; Smith, C; Smyth, G; Tierney, L; Yang, JYH; Zhang, JH
err分享
err收藏
没有更多内容