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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 25 16:50:57 CET 2012


Author: edd
Date: 2012-01-25 16:50:57 +0100 (Wed, 25 Jan 2012)
New Revision: 3446

Modified:
   pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
Log:
fix to vignette, yesterday's addition didn't actually pass Sweave / texi2div / latex


Modified: pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2012-01-24 20:43:06 UTC (rev 3445)
+++ pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw	2012-01-25 15:50:57 UTC (rev 3446)
@@ -524,14 +524,14 @@
 \subsection{How can I pass one additional flag to the compiler?}
 
 \begin{quote}
-  \emph{How can I pass \verb{-std=c++0x} to the \verb{g++} compiler without
-    writing a new plugin?}
+  \emph{How can I pass another flag to the \code{g++} compiler without writing a new plugin?}
 \end{quote}
 
 The quickest way is to modify the return value from an existing plugin. Here
-we use the default one from \pkg{Rcpp} itself. As it does not set the
-\code{PKG_CXXFLAGS} variable, we simply assign this. For other plugins, one
-may need to append to the existing values instead.
+we use the default one from \pkg{Rcpp} itself in order to pass the new flag
+\verb|-std=c++0x|. As it does not set the \verb|PKG_CXXFLAGS| variable, we
+simply assign this. For other plugins, one may need to append to the existing
+values instead.
 
 <<eval=FALSE>>=
 myplugin <- getPlugin("Rcpp")



More information about the Rcpp-commits mailing list