[Rcpp-commits] r2194 - papers/rjournal
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Sep 26 16:01:27 CEST 2010
Author: edd
Date: 2010-09-26 16:01:27 +0200 (Sun, 26 Sep 2010)
New Revision: 2194
Modified:
papers/rjournal/EddelbuettelFrancois.tex
Log:
bit of polish to 'recent work' section
Modified: papers/rjournal/EddelbuettelFrancois.tex
===================================================================
--- papers/rjournal/EddelbuettelFrancois.tex 2010-09-26 13:52:20 UTC (rev 2193)
+++ papers/rjournal/EddelbuettelFrancois.tex 2010-09-26 14:01:27 UTC (rev 2194)
@@ -897,28 +897,31 @@
\section{Recent development}
-The \code{Rcpp} package is in active development, and recent work focuses on
-even better interoperability between R and C++.
+The \code{Rcpp} package is in active development. Recent work, both the the
+\pkg{Rcpp} packages and in packages such as \pkg{RcppArmadillo}
+\citep*{cran:rcpparmadillo} focuses on even better interoperability between R and C++.
% should we plug the next article ... to be continued
Two main themese are `Rcpp sugar' as well as `Rcpp modules' both of which are
discussed in vignettes in the package.
-% Add citations to vignettes ?
+% Add citations of vignettes ?
`Rcpp sugar' brings syntactic
sugar at the C++ level, including optimized binary operators and many
R functions such as \code{ifelse}, \code{sapply}, \code{any}, ...
The main technique used in Rcpp sugar is
-expression templates pioneered by the Blitz++ library \cite{Blitz}
+expression templates pioneered by the Blitz++ library \citep{Blitz}
and adopted since
-by many projects such as Armadillo \cite{Armadillo}. Direct vectorised
+by many projects such as Armadillo \citep{Armadillo}. Direct
access to most of the d/p/q/r-variants of the statistical distribution
-functions has also been added.
+functions has also been added, enabling the use of expressions such as
+\code{dnorm(X, m, s)} for a numeric vector $X$ and scalars $m$ and
+$s$.
`Rcpp modules' allows programmers to expose C++ functions and classes
at the R level. This offers access to C++ code from R using even less
interface code than by writing accessor function. Modules are inspired from
the \code{Boost.Python} library
-\cite{Boost:Python} that provides similar functionality for Python. C++ Classes
+\citep{Boost:Python} that provides similar functionality for Python. C++ Classes
exposed by Rcpp modules are shadowed by reference classes that have been
introduced in R 2.12.0.
More information about the Rcpp-commits
mailing list