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
_______________________________________________
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

Reply via email to