[Rcpp-commits] r2962 - in pkg/Rcpp: . inst/doc/Rcpp-FAQ
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Apr 5 20:20:32 CEST 2011
Author: edd
Date: 2011-04-05 20:20:30 +0200 (Tue, 05 Apr 2011)
New Revision: 2962
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
Log:
added OS X entry to Rcpp-FAQ based on Simon's post to the list
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2011-04-05 17:12:47 UTC (rev 2961)
+++ pkg/Rcpp/ChangeLog 2011-04-05 18:20:30 UTC (rev 2962)
@@ -1,16 +1,22 @@
-2011-04-04 Dirk Eddelbuettel <edd at debian.org>
+2011-04-05 Dirk Eddelbuettel <edd at debian.org>
+ * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added OS X entry for min. sufficient
+ versions of OS X itself and Xode based on Simon's post to rcpp-devel
+
+2011-04-05 Dirk Eddelbuettel <edd at debian.org>
+
* DESCRIPTION: Release 0.9.3
* inst/NEWS: Release 0.9.3
* inst/include/Rcpp/config.h: Release 0.9.3
* debian/*: Similarly updated for new release to Debian
-2011-04-03 Romain Francois <romain at r-enthusiasts.com>
+2011-04-05 Romain Francois <romain at r-enthusiasts.com>
- * R/01_show.R: set of cosmetic changes to the show method for C++ classes
+ * R/01_show.R: set of cosmetic changes to the show method for C++
+ classes
- * inst/include/Rcpp/Module.h: fixed module bug by not using singletons of the
- class_ template
+ * inst/include/Rcpp/Module.h: fixed module bug by not using
+ singletons of the class_ template
2011-04-03 Dirk Eddelbuettel <edd at debian.org>
Modified: pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw 2011-04-05 17:12:47 UTC (rev 2961)
+++ pkg/Rcpp/inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw 2011-04-05 18:20:30 UTC (rev 2962)
@@ -128,7 +128,7 @@
\end{itemize}
-\subsection{What compiler can I use?}
+\subsection{What compiler can I use ?}
On almost all platforms, the GNU Compiler Collection (or \texttt{gcc}, which
is also the name of its \proglang{C} language compiler) has to be used along
@@ -153,7 +153,7 @@
\end{description}
-\subsection{What other packages are useful?}
+\subsection{What other packages are useful ?}
Additional packages that we have found useful are
@@ -223,7 +223,7 @@
The \texttt{verbose} argument of \Sexpr{link("cxxfunction")} is very
useful as it shows how \pkg{inline} runs the show.
-\subsection{How do I convert my prototyped code to a package?}
+\subsection{How do I 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
@@ -233,7 +233,7 @@
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}
+\subsection{But I want to compile my code with R CMD SHLIB !}
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}
@@ -282,13 +282,24 @@
sure to adapt \pkg{Rcpp} as well.
-\subsection{Does \pkg{Rcpp} work on windows}
+\subsection{Does \pkg{Rcpp} work on windows ?}
Yes of course. See the Windows binaries provided by CRAN.
+\subsection{I am having problems building Rcpp on OS X, any help ?}
-\subsection{Can I use \pkg{Rcpp} with Visual Studio}
+OS X is a little more conservative with compiler versions, so it pays to get
+the latest of whatever Apple releases which may already be a little behind
+what is used on Linux or Windows.
+At the time of writing this paragraph in the spring of 2011, \pkg{Rcpp} (just
+like CRAN) supported all OS X releases greater or equal to 10.5. Building
+from source also requires a recent-enough version of Xcode; the current
+version is 3.1.4 which can be downloaded free of charge from the Apple
+Developer site.
+
+\subsection{Can I use \pkg{Rcpp} with Visual Studio ?}
+
Not a chance.
And that is not because we are meanies but because \proglang{R} and Visual
@@ -297,16 +308,16 @@
toolchain. And \proglang{R} simply does not compile with Visual Studio. Go
complain to its vendor if you are still upset.
-\subsection{Does \pkg{Rcpp} work on solaris/suncc}
+\subsection{Does \pkg{Rcpp} work on solaris/suncc ?}
Yes.
-\subsection{Does \pkg{Rcpp} work with Revolution R}
+\subsection{Does \pkg{Rcpp} work with Revolution R ?}
We have not tested it yet. \pkg{Rcpp} might need a few tweaks to work
with the compilers used by Revolution R.
-\subsection{Is it related to CXXR}
+\subsection{Is it related to CXXR ?}
CXXR is an ambitious project that aims to totally refactor the \proglang{R}
interpreter in \proglang{C++}. There are a few similaritites with \pkg{Rcpp}
@@ -362,7 +373,7 @@
@
-\subsection{Can I do matrix algebra with \pkg{Rcpp} ? }
+\subsection{Can I do matrix algebra with \pkg{Rcpp} ?}
\begin{quote}
\emph{\pkg{Rcpp} allows element-wise operations on vector and matrices through
@@ -427,7 +438,7 @@
It should be noted that code below depends on the version \texttt{0.3.5} of
\pkg{inline} and the version \texttt{0.2.2} of \pkg{RcppArmadillo}
-\subsection{Can I use code from the Rmath header and library with \pkg{Rcpp} ? }
+\subsection{Can I use code from the Rmath header and library with \pkg{Rcpp} ?}
\begin{quote}
\emph{Can I call functions defined in the Rmath header file and the
@@ -452,7 +463,7 @@
fx()
@
-\subsection{Can I use NA and Inf with \pkg{Rcpp} ? }
+\subsection{Can I use NA and Inf with \pkg{Rcpp} ?}
\begin{quote}
\emph{R knows about NA and Inf. How do I use them from C++?}
@@ -472,7 +483,7 @@
@
-\subsection{Can I easily multiply matrices ? }
+\subsection{Can I easily multiply matrices ?}
\begin{quote}
\emph{Can I multiply matrices easily?}
@@ -499,7 +510,7 @@
\section{Support}
-\subsection{Is the API documented ? }
+\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
@@ -562,7 +573,7 @@
Sure you can. Just send us an email, and we will be happy to discuss the
request..
-\subsection{I want to learn quickly. Do you provide training courses.}
+\subsection{I want to learn quickly. Do you provide training courses ?}
Yes. Just send us an email.
More information about the Rcpp-commits
mailing list