Exposing Functions Using Rcpp

Adam Gladstone · Apress eBooks · 2022

In the previous chapter, we built an R package using Rcpp. Moreover, using CodeBlocks, we established the infrastructure for developing and building our ABI-compliant library of statistical functions ( libStatsLib.a ), which we linked into our R package ( StatsR.dll ). For the moment, we have only used a single function, library_version (defined in StatsR.cpp ). We used this to illustrate the build process and to test the communication between R and C++.

Read the paper · More papers on PaperTik