[Rcpp-devel] Calling an internal do_* C level function

Dirk Eddelbuettel edd at debian.org
Mon Oct 14 19:53:25 CEST 2013


On 14 October 2013 at 19:41, Romain Francois wrote:
| Most of them are hidden. You can't call them. For example:
| 
| SEXP attribute_hidden do_rank(SEXP call, SEXP op, SEXP args, SEXP rho)
| 
| The attribute_hidden hides the function. If you want this function to be 
| available as part of the R api, you need to negociate that with the R 
| core team.
| 
| In similar situations, people have copied the code over to their 
| project. It might be appropriate for you.

+1

Also, the 'call, op, args' signature takes some getting used to.  You may
even be better getting a nice ranking algo from somewhere else.

Lastly, not a milligram of Rcpp in this question. Plain R programming
questions should go to r-devel, not rcpp-devel.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list