[Rcpp-devel] Export only C function symbols?

Watal M. Iwasaki heavy.watal at gmail.com
Mon Feb 4 08:45:39 CET 2019


Hi all,

Adding `[[Rcpp::export]]` tag to a package function leads to the following
outcomes:

1. Definition of "RcppExport SEXP _mypkg_myfun()" in RcppExports.cpp (hence
in dll)
2. Definition of "myfun() {.Call(`_mypkg_myfun`)}" in RcppExports.R

It is totally fine. Just out of curiosity, is it possible to suppress the
latter reaction and get only `_mypkg_myfun` for .Call-ing?

Best,
Watal M. Iwasaki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20190204/5c97a0ac/attachment.html>


More information about the Rcpp-devel mailing list