[Rcpp-commits] r192 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 15 18:16:41 CET 2009


Author: edd
Date: 2009-12-15 18:16:40 +0100 (Tue, 15 Dec 2009)
New Revision: 192

Modified:
   pkg/man/RcppInline.Rd
Log:
document added parameters compileargs and linkargs


Modified: pkg/man/RcppInline.Rd
===================================================================
--- pkg/man/RcppInline.Rd	2009-12-14 00:02:45 UTC (rev 191)
+++ pkg/man/RcppInline.Rd	2009-12-15 17:16:40 UTC (rev 192)
@@ -19,7 +19,8 @@
             language=c("C++", "C", "Fortran", "F95", "ObjectiveC", "ObjectiveC++"),
             verbose=FALSE, 
             convention=c(".Call", ".C", ".Fortran"),
-            Rcpp=FALSE)
+            Rcpp=FALSE,
+            compileargs=character(), linkargs=character())
 
   ## S4 methods for signatures
   #  f='character', sig='list', body='list'
@@ -75,7 +76,18 @@
   variables \code{PKG_CXXFLAGS} and \code{PKG_LIBS} accordingly so that
   the R / C++ interface provided by the \code{Rcpp} package can be
   used. Default value is \code{FALSE}.}
-  
+
+  \item{compileargs}{Optional character vector of tokens to be passed to
+  the compiler via the \code{PKG_CXXFLAGS} environment
+  variable. Elements should be fully formed as for example
+  \code{c("-I/usr/local/lib/foo", "-DDEBUG")} and are passed along verbatim.}
+
+  \item{linkargs}{Optional character vector of tokens to be passed to
+  the compiler via the \code{PKG_CXXFLAGS} environment
+  variable. Elements should be fully formed as for example
+  \code{c("-L/usr/local/lib/foo -lfoo", "--lpthread")} and are passed
+  along verbatim.}
+    
   \item{...}{ Reserved.}
 }
 



More information about the Rcpp-commits mailing list