[Rcpp-commits] r1904 - pkg/RcppArmadillo/inst/include

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Aug 3 20:59:46 CEST 2010


Author: romain
Date: 2010-08-03 20:59:45 +0200 (Tue, 03 Aug 2010)
New Revision: 1904

Added:
   pkg/RcppArmadillo/inst/include/README
Log:
draft upgrade instructions

Added: pkg/RcppArmadillo/inst/include/README
===================================================================
--- pkg/RcppArmadillo/inst/include/README	                        (rev 0)
+++ pkg/RcppArmadillo/inst/include/README	2010-08-03 18:59:45 UTC (rev 1904)
@@ -0,0 +1,15 @@
+to upgrade to a new release of armadillo: 
+
+- copy the armadillo file here
+- replace the armadillo_bits directory by the one from the armadillo source
+- edit the armadillo file so that #include "armadillo_bits/config.hpp" is surrounded by RcppArmadillo includes: 
+
+
+// RcppArmadillo: add the R defines
+#include <Rconfig.h>
+
+#include "armadillo_bits/config.hpp"
+
+// RcppArmadillo: add the RcppArmadillo configuration
+#include <RcppArmadilloConfig.h>
+



More information about the Rcpp-commits mailing list