source_cpp: source C++ code from a file with include/library path.

View source: R/Rcpp.R

source_cppR Documentation

source C++ code from a file with include/library path.

Description

call Rcpp::sourceCpp with temporally defining include/library path

Usage

source_cpp(file, I = NULL, L = NULL, l_opt = NULL, ...)

Arguments

file

A character string giving the path name of a file

I

A character (or vector of character) giving the path name of include directory

L

A character (or vector of character) giving the path name of library directory

l_opt

A character (or vector of character) giving the additional library option (e.g. LibOptions = c("-lm"," -lmpc"))

...

other arguments for sourceCpp

Value

a vector which containing root values


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.