首页    期刊浏览 2025年07月08日 星期二
登录注册

文章基本信息

  • 标题:Rcpp: Seamless R and C++ Integration
  • 本地全文:下载
  • 作者:Dirk Eddelbuettel ; Romain Francois
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2011
  • 卷号:40
  • 期号:1
  • 页码:1-18
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:The Rcpp package simplifies integrating C++ code with R. It provides a consistent C++ class hierarchy that maps various types of R objects (vectors, matrices, functions, environments, . . . ) to dedicated C++ classes. Object interchange between R and C++ is managed by simple, flexible and extensible concepts which include broad support for C++ Standard Template Library idioms. C++ code can both be compiled, linked and loaded on the fly, or added via packages. Flexible error and exception code handling is provided. Rcpp substantially lowers the barrier for programmers wanting to combine C++ code with R.
国家哲学社会科学文献中心版权所有