[Rcpp-commits] r617 - papers/rjournal
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Feb 6 22:51:23 CET 2010
Author: edd
Date: 2010-02-06 22:51:22 +0100 (Sat, 06 Feb 2010)
New Revision: 617
Modified:
papers/rjournal/EddelbuettelFrancois.tex
Log:
just a tad more ping-pong
Modified: papers/rjournal/EddelbuettelFrancois.tex
===================================================================
--- papers/rjournal/EddelbuettelFrancois.tex 2010-02-06 21:38:25 UTC (rev 616)
+++ papers/rjournal/EddelbuettelFrancois.tex 2010-02-06 21:51:22 UTC (rev 617)
@@ -42,6 +42,9 @@
% [Romain] There are a few more things we could show. That said I'm not
% desperate to dive into another article just now, and we'd probably
% want to be able to quote this one (if accepted, etc ...)
+% [Dirk] It will get accepted and be out before we get around to sending
+% something to JSS. Realistically, that will be the fall anyway. No
+% problem there.
highlights some of the key design and implementation choices:
lightweight encapsulation of R object in C++ classes, automatic
garbage collection strategy, code inlining, data interchange between
@@ -378,10 +381,12 @@
% [Dirk:] *Plonk* Yes.
% [Romain:] Hmmm. not sure about that anymore. Maybe it is a bit confusing. Don't know. Will sleep on it.
% and you don't actually quote RInside.
+% [Dirk:] Now I do
\end{itemize}
-An example for the full specialisation of the templated \code{wrap} function
-is provided by \code{vector< vector< double > >} and \code{vector< vector< int
- > >} which are frequently used for representating numeric matrices.
+One example for the specialisation of the templated \code{wrap} function is
+provided in \pkg{RInside} \citep{cran:rinside} by \code{vector< vector<
+ double > >} and \code{vector< vector< int > >} which are used for
+representating numeric matrices.
Whether an object is wrappable is resolved at compile time, and the
dispatch of the appropriate implementation is performed by the compiler
@@ -389,6 +394,8 @@
% [Romain] : should we put the explanation after the code ?
% [Romain] : trying this now
+% [Dirk:] It's not bad but it just goes on and on. Page 4 is overall
+% a little repetitive.
The following code snippet illustrates that the design allows
composition:
@@ -416,7 +423,7 @@
c( bar = 2L, bling = 3L, foo = 1L) )
\end{example}
-The C++ type \code{std::vector< std::map<std::string,int> >} is wrappable because:
+The C++ type \code{std::vector< std::map< std::string,int > >} is wrappable because:
\texttt{int} is wrappable (as a primitive type), therefore
\texttt{std::map<std::string,int>} is wrappable (as a STL map
of wrappable types keyed by strings), and finally
More information about the Rcpp-commits
mailing list