<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><a href="http://www.keittlab.org/" target="_blank">http://www.keittlab.org/</a></div></div></div>
<br><div class="gmail_quote">On Mon, Dec 4, 2017 at 10:47 AM, David Bellot <span dir="ltr"><<a href="mailto:david.bellot@gmail.com" target="_blank">david.bellot@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>| - What is the correct way to do that ?<br>
<br>
</span>In a package, yes. Modules require a package. Outside of a package, consider<br>
using a package instead :)<br></blockquote><div><br></div></span><div style="font-family:arial,helvetica,sans-serif;font-size:small">​Huh ?</div><div style="font-family:arial,helvetica,sans-serif;font-size:small">OK I'm lost now :-D</div><div style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small">So in the end, how would it work ? What am I missing in my code to make it work ?</div></div></div></div></blockquote><div><br></div><div>Unless I misunderstood, are you not looking for "Rcpp::sourceCpp"? Don't use modules. Just use the // [[Rcpp::export]] attribute.</div><div><br></div><div>THK</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div style="font-family:arial,helvetica,sans-serif;font-size:small">​<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:arial,helvetica,sans-serif;font-size:small;display:inline">​​</div>I think a few other people / projects have invented other dynamic schemes but<br>
I do not have a list or overview. Would be handy to have -- maybe someone<br>
wants to blog about a comparison?<br></blockquote><div><br></div></span><div style="font-family:arial,helvetica,sans-serif;font-size:small">​I'm curious too indeed.​</div></div></div></div>
<br>______________________________<wbr>_________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-<wbr>project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/rcpp-devel</a><br></blockquote></div><br></div></div>