[Rcpp-devel] How to put the code 2013-01-05-r-function-from-c++.cpp in the src/ directory of a package?

Peng Yu pengyu.ut at gmail.com
Fri May 24 12:17:21 CEST 2013


I want to put the C++ function "callFunction" in a cpp file in src/
directory of an R package and use R (in R/) to call such a function.
Because I want to avoid the compilation need each time to use the
function. Could anybody show me an example how to do so? Thanks.



More information about the Rcpp-devel mailing list