[Rcpp-commits] r2073 - pkg/Rcpp/inst/examples/ConvolveBenchmarks

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Sep 4 18:59:34 CEST 2010


Author: edd
Date: 2010-09-04 18:59:33 +0200 (Sat, 04 Sep 2010)
New Revision: 2073

Modified:
   pkg/Rcpp/inst/examples/ConvolveBenchmarks/exampleRCode.r
Log:
omit the two empty columns from results data.frame


Modified: pkg/Rcpp/inst/examples/ConvolveBenchmarks/exampleRCode.r
===================================================================
--- pkg/Rcpp/inst/examples/ConvolveBenchmarks/exampleRCode.r	2010-09-04 16:52:15 UTC (rev 2072)
+++ pkg/Rcpp/inst/examples/ConvolveBenchmarks/exampleRCode.r	2010-09-04 16:59:33 UTC (rev 2073)
@@ -55,9 +55,9 @@
                    "Less careful use of R API",
                    "RcppVector<double>::operator()",
                    "Rcpp::NumericVector::operator[]",
-                   "Rcpp::NumericVector::begin()", 
+                   "Rcpp::NumericVector::begin()",
                    "sugar" )
-print(res)
+print(res[,1:3])
 
 results <- list( v1, v2, v3, v4, v7, v5)
 for (i in seq_along(results) ){



More information about the Rcpp-commits mailing list