[Rcpp-devel] trying to insert a number as first element of already existing vector
Jeff Newmiller
jdnewmil at dcn.davis.ca.us
Mon Dec 10 17:29:52 CET 2018
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.
[1] https://cran.r-project.org/doc/manuals/r-release/R-ints.html
https://stackoverflow.com/questions/41602024/should-i-prefer-rcppnumericvector-over-stdvector
On December 10, 2018 8:01:40 AM PST, Serguei Sokol <serguei.sokol at gmail.com> wrote:
>Le 10/12/2018 à 16:48, Mark Leeds a écrit :
>...
>> Oh, as I said, the documentation on Rcpp is incredible but is there
>> anything discussing memory because
>> I'm pretty lost on that. Thanks again.
>Are you talking about this list archives?
>http://lists.r-forge.r-project.org/pipermail/rcpp-devel/
>
>Serguei.
>_______________________________________________
>Rcpp-devel mailing list
>Rcpp-devel at lists.r-forge.r-project.org
>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
--
Sent from my phone. Please excuse my brevity.
More information about the Rcpp-devel
mailing list