Learn R Programming

RcppParallel (version 4.3.4)

RcppParallelLibs: Linker flags for RcppParallel

Description

Output the linker flags required to link to RcppParallel. On Windows this includes the underlying TBB library, on other platforms no linker flags are required.

Usage

RcppParallelLibs()

Arguments

Value

  • Returns NULL invisibly. The function is not called for it's return value rather for the side effect of outputting the linker flags.

Details

This function is typically called from Makevars.win as follows:

PKG_LIBS += $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "RcppParallel::RcppParallelLibs()")