[Rcpp-devel] Rcpp and reference classes in R-2.12.0 and later

Romain Francois romain at r-enthusiasts.com
Mon Nov 1 16:44:44 CET 2010


Le 01/11/10 16:34, Douglas Bates a écrit :
> On Mon, Nov 1, 2010 at 10:26 AM, Douglas Bates<bates at stat.wisc.edu>  wrote:
>> What is a good place to start reading about using the newly installed
>> reference classes in R to interface with Rcpp?
>
> To answer my own question, the "Rcpp Modules" vignette.

Perhaps it will be once we update the vignette. The content dates from 
before we used reference classes.

For reference classes themselves, the best place to look is 
?ReferenceClasses

As Dirk pointed out, my chicago slides or our google slides might give 
nuggets of information.

I guess it also depends what specifically you want to learn about them. 
Exposing a class is essentially the same as before reference classes.

Deriving a C++ class, adding R methods to a class, etc ... is a new 
feature we get for free with reference classes. This is not really Rcpp 
specific, so maybe ?ReferenceClasses gives enough hints.

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://bit.ly/czHPM7 : Rcpp Google tech talk on youtube
|- http://bit.ly/9P0eF9 : Google slides
`- http://bit.ly/cVPjPe : Chicago R Meetup slides




More information about the Rcpp-devel mailing list