[Rcpp-commits] r2290 - pkg/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Oct 8 01:13:01 CEST 2010


Author: jmc
Date: 2010-10-08 01:13:01 +0200 (Fri, 08 Oct 2010)
New Revision: 2290

Modified:
   pkg/Rcpp/NEWS
Log:
add item on reference classes

Modified: pkg/Rcpp/NEWS
===================================================================
--- pkg/Rcpp/NEWS	2010-10-07 21:10:58 UTC (rev 2289)
+++ pkg/Rcpp/NEWS	2010-10-07 23:13:01 UTC (rev 2290)
@@ -6,6 +6,13 @@
         the proxy pattern to get/set reference fields using callbacks to the 
         R operators "$" and "$<-" in order to preserve the R-level encapsulation
 
+    o   the R side of the preceding item allows methods to be written
+        in R as per ?ReferenceClasses, accessing fields by name and
+        assigning them using "<<-".  Classes extracted from modules
+        are R reference classes.  They can be subclassed in R, and/or R methods
+        can be defined using the $methods(...) mechanism.
+
+
 0.8.6   2010-09-09
 
     o	new macro RCPP_VERSION and Rcpp_Version to allow conditional compiling



More information about the Rcpp-commits mailing list