Integrating R and C++

| No Comments | No TrackBacks
As I've mentioned before, I use R a lot for statistical analyses. I also do some programming in C++ when I develop software (like Hickory) that I think other people might like to use. I just learned about an approach to integrating C++ and R that I expect to use fairly extensively. It's the Rcpp package: It provides a C++ library that facilitates the integration of R and C++.

C++ code can be assigned to an object in R and called as a function, receiving arguments from  R and returning them. I'm not sure what magic happens under the hood, but it sounds very promising and powerful.

There's an example of its use over at Life in Code. Pretty cool, if you're a code geek like me.

No TrackBacks

TrackBack URL: http://darwin.eeb.uconn.edu/cgi-bin/mt/mt-tb.cgi/634

Leave a comment

 Subscribe in a reader

Pages

OpenID accepted here Learn more about OpenID

Technorati

Technorati search

» Blogs that link here

Nature Blog Network
Creative Commons License
This blog is licensed under a Creative Commons License.

About this Entry

This page contains a single entry by Kent published on July 1, 2011 6:00 AM.

Time to buy stamps! was the previous entry in this blog.

The serial comma lives is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Trending content