[Rcpp-devel] A beginners guide to Rcpp
jayemerson at gmail.com
Thu Nov 29 16:40:15 CET 2012
> > Nice document but it would be good to distinguish between the C
> > interfaces -- the .C interface may not be fully general; however, it
> > is adequate for a lot of numerical work such as writing the objective
> > function and gradient in optimization routines and is not painful at
> > all.
> I guess my argument would be that if you know Rcpp, you don't need to
> know the C interface. If you know the C interface, you're still better
> off learning Rcpp if you want to tackle anything more complicated.
> i.e. if you only have the time to learn one of Rcpp, .C, or .Call,
> you're better off learning Rcpp.
> That's not to say .C or .Call are not useful to know, but they're
> probably not that useful to learn unless you already known how to
> program in C. If you don't know how to program in C++, it's still
> worthwhile to learn Rcpp.
+1 Nicely said. Maybe I'm rare (an old guy thing) in that I'm
(originally) a C guy. But I'll keep at it (C++ with Rcpp) and hopefully
John W. Emerson (Jay)
Associate Professor of Statistics, Adjunct, and Acting Director of Graduate
Department of Statistics
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel