Wednesday, 17 July 2013

London R - c++ functions in R embarrassingly easy with Rcpp

I went to the LondonR meetup yesterday sponsored by Mango Solutions and also the workshop on using Rcpp - c++  functions in R.
A great introduction to Rcpp, thanks due to Hadley Wickham. Thanks also to Dirk Eddelbuettel and Romain Francois for the package. Romain was also there helping out.
The takeaway is that it is astonishingly easy to create and use c++ functions within R using Rstudio passing in and out vectors of strings or numbers, so much so that I felt driven to post. If performance in some bottleneck in R is a problem and you've vectorised your code etc. there's another chunk of improvement (4 to 20 times depending on some samples we saw) available for very little effort. It's impressive what Dirk and Romain have done.
The three talks after were worth listening to, Andrie de Vries on an overview of using survival analysis to pick up what influenced a marketing success, Richard Pugh on analytics applications including R and Hadley Wickham giving some thoughts where he's trying to take some of packages.
I was also interested to see the broad range of users there for the meetup, which reflects how people are finding R useful in so many walks of life.

No comments:

Post a Comment