RcppLdFlags: Provide Rcpp Linker Flags

Description Usage Arguments Details Value Author(s) References See Also

View source: R/RcppLdpath.R

Description

LdFlags and RcppLdFlags return the required flags and options for the system linker. This allows portable use of Rcpp as package location as well as operating-system specific details are abstracted away behind the interface of this function.

LdFlags is commonly called from the files Makevars (or Makevars.win) rather than in an interactive session.

Usage

1
2

Arguments

static

A boolean determining use of static (as opposed to dynamic) linking; defaults to using the staticLinking() function which defaults to FALSE on Linux, and TRUE if the operating system is different from Linux.

Details

Thee functions are not meant to used interactively, and are intended solely for use by the build tools.

Value

A character vector suitable by use by the system linker in order to create a library based on Rcpp.

Author(s)

Dirk Eddelbuettel and Romain Francois

References

Dirk Eddelbuettel and Romain Francois (2011). Rcpp: Seamless R and C++ Integration. Journal of Statistical Software, 40(8), 1-18. URL http://www.jstatsoft.org/v40/i08/ and available as vignette("Rcpp-introduction").

See Also

The vignette ‘Rcpp-package’ has more details.


Rcpp documentation built on May 2, 2019, 5:23 p.m.