[Rcpp-commits] r1478 - pkg/Rcpp/inst/doc/Rcpp-extending

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jun 7 17:36:09 CEST 2010


Author: edd
Date: 2010-06-07 17:36:08 +0200 (Mon, 07 Jun 2010)
New Revision: 1478

Modified:
   pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
Log:
oops: wrap() is member but as() is not


Modified: pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw	2010-06-07 15:19:13 UTC (rev 1477)
+++ pkg/Rcpp/inst/doc/Rcpp-extending/Rcpp-extending.Rnw	2010-06-07 15:36:08 UTC (rev 1478)
@@ -91,7 +91,7 @@
 \section{Introduction}
 
 \pkg{Rcpp} facilitates data interchange between \proglang{R} and
-\proglang{C++} through the templated member functions \texttt{Rcpp::as} (for
+\proglang{C++} through the templated functions \texttt{Rcpp::as} (for
 conversion from \proglang{C++}) and \texttt{Rcpp::wrap} (for conversion to
 \proglang{C++}).  Their declarations are as follows:
 
@@ -343,8 +343,8 @@
 The \pkg{Rcpp} package greatly facilitates the transfer of objects between
 \proglang{R} and \proglang{C++}. This note has shown how to extend \pkg{Rcpp}
 to either user-defined or third-party classes via the \texttt{Rcpp::as} and
-\texttt{Rcpp::wrap} template member functions. Both intrusive and
-non-intrusive approaches were discussed.
+\texttt{Rcpp::wrap} template functions. Both intrusive and non-intrusive
+approaches were discussed.
 
 \bibliographystyle{abbrvnat}
 \bibliography{Rcpp-modules}



More information about the Rcpp-commits mailing list