[Rcpp-devel] multiple function when using Inline

Noah Silverman noahsilverman at ucla.edu
Thu Oct 20 08:50:02 CEST 2011


Hi,

I've started using Rcpp + inline for some of my code.  It is amazingly fast.

However, I have need for a few c++ functions. (One main needs to call a few other functions.)  At this point, I don't need separate classes, just the ability to have multiple functions.  (Coding up several separate R functions using Inline would be ineffecient as the data would need to pass between R and C++ several times on each iteration of a rather large loop.

While this is trivial in C++, is it possible in R using the the Rcpp+Inline?



--
Noah Silverman
UCLA Department of Statistics
8208 Math Sciences Building
Los Angeles, CA 90095

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20111019/bdb3b04b/attachment.htm>


More information about the Rcpp-devel mailing list