[Rcpp-commits] r2104 - pkg/Rcpp/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 14 12:05:58 CEST 2010


Author: romain
Date: 2010-09-14 12:05:58 +0200 (Tue, 14 Sep 2010)
New Revision: 2104

Modified:
   pkg/Rcpp/R/Module.R
Log:
setters return NULL invisibly

Modified: pkg/Rcpp/R/Module.R
===================================================================
--- pkg/Rcpp/R/Module.R	2010-09-14 09:50:44 UTC (rev 2103)
+++ pkg/Rcpp/R/Module.R	2010-09-14 10:05:58 UTC (rev 2104)
@@ -386,6 +386,7 @@
 	    
 	    setter <- function(value){
 	        .Call( "CppClass__set", xp, .self at pointer, p, value, PACKAGE = "Rcpp" )
+	        invisible( NULL )
 	    }
 	    
 	    res <- list( get = getter, set = setter )



More information about the Rcpp-commits mailing list