[Rcpp-commits] r1452 - pkg/Rcpp/inst/doc/Rcpp-FAQ

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jun 6 15:30:26 CEST 2010


Author: edd
Date: 2010-06-06 15:30:26 +0200 (Sun, 06 Jun 2010)
New Revision: 1452

Modified:
   pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
Log:
minor updates such as \citep{Armadillo}


Modified: pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2010-06-06 13:30:02 UTC (rev 1451)
+++ pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2010-06-06 13:30:26 UTC (rev 1452)
@@ -126,9 +126,10 @@
 @
 
 This approach corresponds to the very earliest ways of building programs and
-can still be found in some older documents (as \textit{e.g.} some of Dirk's
-HPC Tutorial slides).  It is still not recommended as there are tools and
-automation mechanisms that can do the work for you.
+can still be found in some deprecated documents (as \textit{e.g.} some of
+Dirk's older 'Intro to HPC with R' tutorial slides).  It is still not
+recommended as there are tools and automation mechanisms that can do the work
+for you.
 
 
 \subsection{What about \texttt{LinkingTo} ?}
@@ -141,7 +142,8 @@
 
 The actual library location and argument still needs to be provided by the
 user. How to do so has been shown above, and we recommned you use either
-\faq{make-package} or  \faq{using-inline}.
+\faq{make-package} or \faq{using-inline} both which use the \pkg{Rcpp}
+function \texttt{Rcpp:::LdFlags()}.
 
 If and when \texttt{LinkingTo} changes and lives up to its name, we will be
 sure to adapt \pkg{Rcpp} as well.
@@ -178,12 +180,13 @@
 templates. We currently do not plan to go in this direction, but we would
 welcome external help. Please send us a design document.
 
-However, we have developed the \pkg{RcppArmadillo} package that provides
-a bridge between \pkg{Rcpp} and Armadillo.
-% TODO: add a reference to armadillo \ref{}
-Armadillo does support binary operators on its types in a way that takes
-full advantage of expression templates to remove temporaries and
-allow chaining of operations.
+However, we have developed the \pkg{RcppArmadillo} package that provides a
+bridge between \pkg{Rcpp} and Armadillo \citep{Armadillo}.  Armadillo
+supports binary operators on its types in a way that takes full advantage of
+expression templates to remove temporaries and allow chaining of
+operations. That is a mouthful of words meaning that it makes the code go
+faster by using fiendishly clever ways available via the so-called template
+meta programming, an advanced \proglang{C++} technique.
 
 % TODO: add an example of using armadillo to do matrix operations
 % <<lang=cpp>>=



More information about the Rcpp-commits mailing list