[R] How to tell g++ where Rcpp.h is located?

Dr.Richard Dybowski rdybowski1 at gmail.com
Sun Dec 14 02:40:35 CET 2014


I am new to Rcpp and want to try the example given in
http://gallery.rcpp.org/articles/r-function-from-c++/
I have installed the Rcpp package via RStudio, but I do not know how to
tell my C++ compiler (g++) where to find the header file Rcpp.h . In case
it is relevant, my C++ IDE is Code::Blocks.

Sorry for the newbie question but I would appreciate help with this.

Thanks.

	[[alternative HTML version deleted]]



More information about the R-help mailing list