> On 7 July 2012 at 17:05, Joshua Wiley wrote: > | Thank you so much! That worked and helped me understand why it was > | happening :) The idea of pointers is new to me so I think I need to > | spend more time learning about that.
There's a nice cheatsheet here that points out some gotchas and nice C++ idioms: http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-quickref.pdf Which is, incidentally, looking a little worse for the wear. Dirk, do you have any idea what happened to the formatting? Give me a hint and I'll see if I can fix it at some point... -xian _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel