[Rcpp-devel] Calling an internal do_* C level function
Mark Fredrickson
mark.m.fredrickson at gmail.com
Mon Oct 14 19:33:50 CEST 2013
Hello,
Does anyone have an example of calling into C level functions that would be
called with .Internal() in R?
Specifically, I'd like to call do_rank, as defined in:
http://svn.r-project.org/R/trunk/src/main/sort.c
These functions have an unusual signature, and I'm not sure what
headers/linker directives I would need to include to get access to this
function.
I am aware that I could call the R level rank() function, but I'm trying to
avoid the performance penalty.
Thanks,
-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20131014/6b921c8c/attachment.html>
More information about the Rcpp-devel
mailing list