On Mon, 4 Feb 2019 at 13:45, Watal M. Iwasaki <heavy.wa...@gmail.com> wrote: > > Dear Dirk, > > Thank you for the prompt answer. > Currently all the C++ functions with [[Rcpp::export]] tag are exposed to me > by `devtools::load_all()` in the dev process. But some of them are only > useful in other functions and undesired in the interactive environment. So I > wondered if by any chance it is possible to control the level of exposure. It > is not a big problem. Good to know the answer is no.
The "level of exposure" is controlled by the NAMESPACE in a package, not by Rcpp. And in this case, by devtools. This is what I got from the function's help: export_all If TRUE (the default), export all objects. If FALSE, export only the objects that are listed as exports in the NAMESPACE file. Regards, Iñaki _______________________________________________ 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