[Rcpp-commits] r1454 - pkg/Rcpp/inst/doc/Rcpp-FAQ
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Jun 6 18:49:21 CEST 2010
Author: edd
Date: 2010-06-06 18:49:21 +0200 (Sun, 06 Jun 2010)
New Revision: 1454
Modified:
pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
Log:
two new Qs
Modified: pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw 2010-06-06 15:24:31 UTC (rev 1453)
+++ pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw 2010-06-06 16:49:21 UTC (rev 1454)
@@ -6,7 +6,7 @@
\usepackage{color, alltt}
\usepackage[authoryear,round,longnamesfirst]{natbib}
\usepackage[colorlinks]{hyperref}
-\definecolor{link}{rgb}{0,0,0.3} %% next few lines courtesy of RJournal.sty
+\definecolor{link}{rgb}{0,0,0.5} %% next few lines courtesy of RJournal.sty
\hypersetup{
colorlinks,%
citecolor=link,%
@@ -107,9 +107,19 @@
The \texttt{verbose} argument of \Sexpr{link("cxxfunction")} is very
useful as it shows how \pkg{inline} runs the show.
+\subsection{How to convert my prototyped code to a package?}
+\label{from-inline-to-package}
+
+Since release 0.3.5 of \pkg{inline}, one can combine \faq{using-inline} and
+\faq{make-package}. See \verb|help("package.skeleton-methods")| once
+\pkg{inline} is loaded and use the skeleton-generating functionality to
+transform a prototyped function into the minimal structure of a package.
+After that you can proceed with working on the package in the spirit of
+\faq{make-package}.
+
\subsection{But I want to compile my code with R CMD SHLIB}
-The recommended way is to use a package and follow \faq{make-package}. The
+The recommended way is to create a package and follow \faq{make-package}. The
alternate recommendation is to use \pkg{inline} and follow \faq{using-inline}
because it takes care of all the details.
@@ -181,7 +191,7 @@
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 \citep{Armadillo}. Armadillo
+bridge between \pkg{Rcpp} and \pkg{Armadillo} \citep{Armadillo}. \pkg{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
@@ -193,6 +203,17 @@
%
% @
+\subsection{Is the API documented ? }
+
+You bet. We use \proglang{doxygen} to generate html, latex and man page
+documentation from the source. The html documentation is available for
+\href{http://dirk.eddelbuettel.com/code/rcpp/html/index.html}{browsing}, as a
+\href{http://dirk.eddelbuettel.com/code/rcpp/Rcpp_refman.pdf}{very large pdf file},
+and all three formats are also available a zip-archives:
+\href{http://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-html.zip}{html},
+\href{http://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-latex.zip}{latex}, and
+\href{http://dirk.eddelbuettel.com/code/rcpp/rcpp-doc-man.zip}{man}.
+
\section{Support}
\subsection{Where can I ask further questions ?}
More information about the Rcpp-commits
mailing list