<div dir="ltr"><div dir="ltr"><div>Thanks Jeff. I'll check those out.  I recently found a gist of Gabor that explains the relation</div><div>between Rcpp and the concept of pointers in C.</div><div><br></div><div><a href="https://gist.github.com/ggrothendieck">https://gist.github.com/ggrothendieck</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 10, 2018 at 11:29 AM Jeff Newmiller <<a href="mailto:jdnewmil@dcn.davis.ca.us">jdnewmil@dcn.davis.ca.us</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">The archives probably weren't what Mark was hoping for, though they are good medicine. Reading the R documentation [1] is probably also good medicine that Mark is hoping (in vain) to avoid. And then there is the topic of conventional C++ memory handling, which is relevant but for which there are easily hundreds of tutorials unrelated to Rcpp. Syntactic sugar like Rcpp makes coding safer and reduces boilerplate code, but if you want performance then there really is no substitute for understanding what that sugar does for you.<br>
<br>
[1] <a href="https://cran.r-project.org/doc/manuals/r-release/R-ints.html" rel="noreferrer" target="_blank">https://cran.r-project.org/doc/manuals/r-release/R-ints.html</a><br>
<br>
<a href="https://stackoverflow.com/questions/41602024/should-i-prefer-rcppnumericvector-over-stdvector" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/41602024/should-i-prefer-rcppnumericvector-over-stdvector</a><br>
<br>
On December 10, 2018 8:01:40 AM PST, Serguei Sokol <<a href="mailto:serguei.sokol@gmail.com" target="_blank">serguei.sokol@gmail.com</a>> wrote:<br>
>Le 10/12/2018 à 16:48, Mark Leeds a écrit :<br>
>...<br>
>> Oh, as I said, the documentation on Rcpp is incredible but is there <br>
>> anything discussing memory because<br>
>> I'm pretty lost on that. Thanks again.<br>
>Are you talking about this list archives?<br>
><a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/" rel="noreferrer" target="_blank">http://lists.r-forge.r-project.org/pipermail/rcpp-devel/</a><br>
><br>
>Serguei.<br>
>_______________________________________________<br>
>Rcpp-devel mailing list<br>
><a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-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-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br>
<br>
-- <br>
Sent from my phone. Please excuse my brevity.<br>
</blockquote></div>