[Rcpp-commits] r4035 - in pkg/Rcpp: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 25 12:32:19 CET 2012


Author: jjallaire
Date: 2012-11-25 12:32:18 +0100 (Sun, 25 Nov 2012)
New Revision: 4035

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/R/Attributes.R
Log:
use echo = TRUE for sourceCpp R code chunks

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-11-25 11:01:33 UTC (rev 4034)
+++ pkg/Rcpp/ChangeLog	2012-11-25 11:32:18 UTC (rev 4035)
@@ -1,5 +1,9 @@
-2012-11-21  JJ Allaire <jj at rstudio.org>
+2012-11-25  JJ Allaire <jj at rstudio.org>
 
+        * R/Attributes.R: use echo = TRUE for sourceCpp R code chunks
+
+2012-11-24  JJ Allaire <jj at rstudio.org>
+
         * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: expand discussion
         of binary compatibility issues.
 

Modified: pkg/Rcpp/R/Attributes.R
===================================================================
--- pkg/Rcpp/R/Attributes.R	2012-11-25 11:01:33 UTC (rev 4034)
+++ pkg/Rcpp/R/Attributes.R	2012-11-25 11:32:18 UTC (rev 4035)
@@ -145,7 +145,7 @@
     # source the embeddedR
     if (length(context$embeddedR) > 0) {
         srcConn <- textConnection(context$embeddedR)
-        source(file=srcConn, print.eval=TRUE)
+        source(file=srcConn, echo=TRUE)
     }
     
     # return (invisibly) a list of exported functions



More information about the Rcpp-commits mailing list