<br>I'm not sure I'd go quite this far in ragging on the C API.  For someone who wants to write plain-vanilla C code (without C++) working on vectors and matrices, it really seems acceptable to me.  If someone doesn't have at least some basic technical ability, they shouldn't be writing C or C++ code, anyway.<br>
<br>However, for more advanced use of the API and C++, I'm completely with you.<br><br>I'll look this over, Hadley, once things settle down.  Thanks for your efforts on this!<br><br>Jay<br><br><br><div class="gmail_quote">
On Thu, Nov 29, 2012 at 8:34 AM, Hadley Wickham <span dir="ltr"><<a href="mailto:h.wickham@gmail.com" target="_blank">h.wickham@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":z">It is _possible_ to write C or Fortran code for use in R, but it will<br>
be painful; Rcpp provides a clean, approachable API that lets you<br>
write high-performance code, insulated from R's arcane C API.</div></blockquote></div><br><br clear="all"><br>-- <br>John W. Emerson (Jay)<br>Associate Professor of Statistics, Adjunct, and Acting Director of Graduate Studies<br>
Department of Statistics<br>Yale University<br><a href="http://www.stat.yale.edu/~jay" target="_blank">http://www.stat.yale.edu/~jay</a><br>