Hi, 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.
https://github.com/jjallaire/rcpp-gallery/blob/gh-pages/src/2013-01-05-r-function-from-c++.cpp -- Regards, Peng _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel