[Rcpp-commits] r680 - papers/rjournal

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Feb 14 22:32:39 CET 2010


Author: romain
Date: 2010-02-14 22:32:34 +0100 (Sun, 14 Feb 2010)
New Revision: 680

Modified:
   papers/rjournal/EddelbuettelFrancois.bib
   papers/rjournal/EddelbuettelFrancois.tex
Log:
added two Meyers references and minor changes in the stl algorithms section

Modified: papers/rjournal/EddelbuettelFrancois.bib
===================================================================
--- papers/rjournal/EddelbuettelFrancois.bib	2010-02-14 20:46:37 UTC (rev 679)
+++ papers/rjournal/EddelbuettelFrancois.bib	2010-02-14 21:32:34 UTC (rev 680)
@@ -130,3 +130,20 @@
   pages = 	 {283-293},
   month = 	 {May}}
 
+ at book{effectivestl,
+ author = {Meyers, Scott},
+ title = {Effective STL: 50 specific ways to improve your use of the standard template library},
+ year = {2001},
+ isbn = {0-201-74962-9},
+ publisher = {Addison-Wesley Longman Ltd.},
+ address = {Essex, UK, UK},
+ }
+
+ at book{effectivecplusplus,
+ author = {Meyers, Scott},
+ title = {Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)},
+ year = {2005},
+ isbn = {0321334876},
+ publisher = {Addison-Wesley Professional},
+ }
+ 

Modified: papers/rjournal/EddelbuettelFrancois.tex
===================================================================
--- papers/rjournal/EddelbuettelFrancois.tex	2010-02-14 20:46:37 UTC (rev 679)
+++ papers/rjournal/EddelbuettelFrancois.tex	2010-02-14 21:32:34 UTC (rev 680)
@@ -58,7 +58,8 @@
 interface.  This constitutes the `classic \pkg{Rcpp}' interface (described in
 the next section) which will be maintained for the forseeable future.
 
-Yet C++ coding standards continued to evolve. So starting in 2009 the
+Yet C++ coding standards continued to evolve \citep{effectivecplusplus}.
+So starting in 2009 the
 codebase was significantly extended and numerous new features were added.
 Several of these are described below in the section on the `new
 \pkg{Rcpp}' interface. This new API is our current focus, and we intend to
@@ -604,19 +605,19 @@
 
 The C++ Standard Template Library (STL) offers a wide range of 
 generic algorithms designed to be used on 
-range of elements. A range is any sequence of objects that 
+ranges of elements. A range is any sequence of objects that 
 can be accessed through iterators or pointers. 
 
-All \pkg{Rcpp} classes representing vectors (including lists)
-can produce ranges through their member functions \code{begin()}
-and \code{end()}, effectively supporting iterating over element 
+All \pkg{Rcpp} classes from the new API 
+representing vectors (including lists) can produce ranges through their
+member functions \code{begin()}
+and \code{end()}, effectively supporting iterating over elements
 of an R vector. 
 
 The following code illustrates how \pkg{Rcpp} might be used
 to emulate a 
-simpler\footnote{The version of lapply does not include usage of the
-ellipsis (\code{...}). Other constructs in \pkg{Rcpp} can be
-used to emulate \code{lapply} more closely. } version of \code{lapply}
+simpler\footnote{The version of \code{lapply} does not include usage of the
+ellipsis (\code{...}).} version of \code{lapply}
 using the \code{transform} algorithm from the STL. 
 
 % [Romain] does the code need comments ?
@@ -637,8 +638,9 @@
 \ \ src, Rcpp = TRUE )
 \end{example}
 
-We can then use this to calculate the summary of each 
+We can then use this to calculate a summary of each 
 column of the \code{faithful} dataset. 
+
 % [Romain] Does this need a reference or is this common knowledge
 %          ?faithful has a reference
 



More information about the Rcpp-commits mailing list