[Rcpp-devel] inspiration from boost.python

Romain Francois romain at r-enthusiasts.com
Sun May 9 10:34:29 CEST 2010


Anyone here has experience with boost.python.

It looks like a nice way to expose c++ classes as python objects, so 
then I think we could borrow some of the smartness of this to expose c++ 
classes to R.

At the moment, for exemple what we do in RProtoBuf, exposing a c++ class 
to R involves writing a set of .Call compatible functions and connect 
them back at the R leveln which is a bit tedious and error prone.

Maybe something to play with towards Rcpp 0.9.0

Or do I just need coffee ?


Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
|- http://bit.ly/9aKDM9 : embed images in Rd documents
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7

More information about the Rcpp-devel mailing list