I would go to the source, in this case Dirk Eddelbuettel's (I hope I spelled it correctly) documentation for Rcpp:
http://dirk.eddelbuettel.com/code/rcpp/Rcpp-attributes.pdf Note that you need to do sourceCpp("logistic_map.cpp") in R instead of building and dyn.load()-ing the object. HTH, Peter On Sun, Dec 3, 2017 at 11:04 AM, Martin Møller Skarbiniks Pedersen <traxpla...@gmail.com> wrote: > On 3 December 2017 at 05:23, Eric Berger <ericjber...@gmail.com> wrote: > >> >> Do a search on "Rcpp calling C++ functions from R" >> > > Thanks. However search for "Rcpp calling C++ functions from R" gives a lot > of result but I think > some of them are outdated and others don't agree with each other. > > Can you point to a specific good on-line guide for me? > > Regards > Martin > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.