Please follow the documentation. See ?RcppArmadillo
See also the announcement on my blog:
http://romainfrancois.blog.free.fr/index.php?post/2010/05/19/RcppArmadillo-0.2.1
Le 19/05/10 16:18, Abhisek a écrit :
Hi,
I am trying to use the following lines to compile a cpp code
export PKG_LIBS=`R
Hi,
I am trying to use the following lines to compile a cpp code
export PKG_LIBS=`Rscript -e "Rcpp:::LdFlags()"`
export PKG_CXXFLAGS=`Rscript -e "Rcpp:::CxxFlags()"`
R CMD SHLIB gamwibTrial.cpp
I get the following error
g++ -I/usr/share/R/include
-I/home/abhisek/R/i486-pc-linux-gnu-library/2.10
One thing perhaps I'd like opinions about is the use if the name
"function" in :
RCPP_MODULE(yada){
using namespace Rcpp ;
function( "hello" , &hello ) ;
}
Boost.Python uses "def" but this is too pythonic for me. OTOH, having
both Rcpp::Function (the class that deals with R fun
Hi,
There is a typo on page 3 of the latest documentation. The lines to be
added to Makevars and Makevars.win are trailing off the page.
Not that it matters if one uses RcppArmadillo.package.
skeleton()
I didnt think this needed to be posted on the mailing list as it is not a
technical or devel
Hello,
I've been looking at Boost.Python lately and thought we might be able to
port some of the ideas to Rcpp too.
I commited (rev 1281) some code to Rcpp that introduces the notion of
Rcpp modules (wording might change later). A module is a collection of
C++ functions that :
- take 0 or m