跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

统计学 > 方法论

arXiv:1409.3531 (stat)
[提交于 2014年9月12日]

标题:Object-Oriented Programming, Functional Programming and R

作者:John M. Chambers
查看论文《Object-Oriented Programming, Functional Programming and R》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
评论: Published in at http://dx.doi.org/10.1214/13-STS452 the Statistical Science (http://www.imstat.org/sts/) by the Institute of Mathematical Statistics (http://www.imstat.org)
主题: 方法论 (stat.ME); 程序设计语言 (cs.PL); 软件工程 (cs.SE); 计算 (stat.CO)
报告编号: IMS-STS-STS452
引用方式: arXiv:1409.3531 [stat.ME]
  (或者 arXiv:1409.3531v1 [stat.ME] 对于此版本)
  https://doi.org/10.48550/arXiv.1409.3531
期刊参考: Statistical Science 2014, Vol. 29, No. 2, 167-180
相关 DOI: https://doi.org/10.1214/13-STS452

提交历史

来自:John M. Chambers
[v1] 2014年9月12日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

stat.ME
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-09
切换浏览方式为:
stat
cs.PL
cs.SE
stat.CO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站