问题
Such as boost, where can I specify the following:
1.External c++ header file include path
2.External c++ source file
3.External c++ link library file path
回答1:
It all goes into src/Makevars
as explained in
the fine manual Writing R Extensions that came with R
either the Writing a package using Rcpp vignette or my book both of which I told you about in ...
... my replies to your post on rcpp-devel
来源:https://stackoverflow.com/questions/18570526/how-to-build-a-r-package-which-use-rcpp-with-external-c-libraries