[Rcpp-commits] r3739 - in pkg/RcppEigen: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 15 05:07:12 CEST 2012


Author: edd
Date: 2012-08-15 05:07:12 +0200 (Wed, 15 Aug 2012)
New Revision: 3739

Added:
   pkg/RcppEigen/R/flags.R
Modified:
   pkg/RcppEigen/ChangeLog
Log:
add CxxFlags() and RcppEigenCxxFlags() for use in Makefiles


Modified: pkg/RcppEigen/ChangeLog
===================================================================
--- pkg/RcppEigen/ChangeLog	2012-08-14 23:51:47 UTC (rev 3738)
+++ pkg/RcppEigen/ChangeLog	2012-08-15 03:07:12 UTC (rev 3739)
@@ -1,3 +1,8 @@
+2012-08-14  Dirk Eddelbuettel  <edd at debian.org>
+
+	* R/flags.R: Add two (unexported) functions CxxFlags() and
+	  RcppEigenCxxFlags() for use in Makefiles etc
+
 2012-07-30  Douglas Bates <bates at stat.wisc.edu>
 
 	* inst/include/RcppEigenWrap.h, inst/unitTests/runit.RcppEigen.R:
@@ -18,14 +23,15 @@
 	* inst/doc/code.R: New version of wrap code provides correct answer to
 	  the badtrans example
 	* DESCRIPTION: Bump the date.
+
 2012-07-27  Douglas Bates <bates at stat.wisc.edu>
 	* inst/include/Eigen/*: Changed to released version of Eigen-3.1.0
 	  using the MPL2 license.
 
 2012-07-19  Dirk Eddelbuettel  <edd at debian.org>
 
-	* R/fastLm.R: o correct residual standard error display
-	* R/fastLm.R: o improved test for intercept once more with a tip of the
+	* R/fastLm.R: correct residual standard error display
+	* R/fastLm.R: improved test for intercept once more with a tip of the
 	  hat to Doug
 
 2012-07-17  Dirk Eddelbuettel  <edd at debian.org>

Added: pkg/RcppEigen/R/flags.R
===================================================================
--- pkg/RcppEigen/R/flags.R	                        (rev 0)
+++ pkg/RcppEigen/R/flags.R	2012-08-15 03:07:12 UTC (rev 3739)
@@ -0,0 +1,24 @@
+## Copyright (C)       2012  Douglas Bates, Dirk Eddelbuettel and Romain Francois
+##
+## This file is part of RcppEigen.
+##
+## RcppEigen is free software: you can redistribute it and/or modify it
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 2 of the License, or
+## (at your option) any later version.
+##
+## RcppEigen is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with RcppEigen.  If not, see <http://www.gnu.org/licenses/>.
+
+RcppEigenCxxFlags <- function() {
+    paste('-I"', system.file("include", package="RcppEigen"), '"', sep="")
+}
+
+CxxFlags <- function() {
+    cat(RcppEigenCxxFlags())
+}



More information about the Rcpp-commits mailing list