<div dir="ltr"><div dir="ltr">Dear Iñaki,</div><div dir="ltr"><br></div><div>Thanks for the comments. But I know the switch you mentioned. The levels I was talking are within the unexported functions. Here are my imaginary levels:</div><div><br></div><div>1. Listed in NAMESPACE; always visible</div><div>2. Not listed in NAMESPACE; exposed by load_all(export_all = TRUE) or :::</div><div>3. Not listed in NAMESPACE; only accessible from .Call()</div><div><br></div><div>I hope this helps clarify the (no) problem.</div><div dir="ltr"><br></div><div>Best,</div><div>Watal</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 4, 2019 at 10:42 PM Iñaki Ucar <<a href="mailto:iucar@fedoraproject.org">iucar@fedoraproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 4 Feb 2019 at 13:45, Watal M. Iwasaki <<a href="mailto:heavy.watal@gmail.com" target="_blank">heavy.watal@gmail.com</a>> wrote:<br>
><br>
> Dear Dirk,<br>
><br>
> Thank you for the prompt answer.<br>
> 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.<br>
<br>
The "level of exposure" is controlled by the NAMESPACE in a package,<br>
not by Rcpp. And in this case, by devtools. This is what I got from<br>
the function's help:<br>
<br>
export_all If TRUE (the default), export all objects. If FALSE,<br>
export only the objects that are listed as exports in the NAMESPACE<br>
file.<br>
<br>
Regards,<br>
Iñaki<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Watal M. Iwasaki / 岩嵜 航<br>SOKENDAI, The Graduate University for Advanced Studies,<br>Hayama, Kanagawa 240-0193, Japan<br>+81-46-858-1576<br><a href="https://heavywatal.github.io/" target="_blank">https://heavywatal.github.io/</a></div></div>