arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.06416stat.CO
收藏

使用外部C++库创建R包的13个简单步骤

Thirteen Simple Steps for Creating An R Package with an External C++ Library

Dirk Eddelbuettel

摘要:

我们描述了如何通过使用Rcpp包,使用外部C++代码库扩展R。我们的工作示例使用了最近的机器学习库和应用程序“Corels”,提供了最佳但易于解释的规则列表<arXiv:1704.01701>,我们以“RcppCorels”包的形式将其带到R中。我们讨论了这个过程中的每一个步骤,并得出了一套简单的规则和建议,并与具体的例子说明。

英文摘要:

We desribe how we extend R with an external C++ code library by using the Rcpp package. Our working example uses the recent machine learning library and application 'Corels' providing optimal yet easily interpretable rule lists <arXiv:1704.01701> which we bring to R in the form of the 'RcppCorels' package. We discuss each step in the process, and derive a set of simple rules and recommendations which are illustrated with the concrete example.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑