On 26 August 2012 at 17:31, liu lin wrote: | Dear all, | | I'm trying to write C++ code and call it in R. But after installing the Rcpp package in R, I cannot find where the R.h and the other header file are. When writing code in eclipse, it's really annoying to deal with the errors because of the non-existance of R.h's. Is it a built-in feature of Rcpp or just i'm not on the right track?
One more follow-up: For the sister project RInside, which depends on R, Rcpp and RInside itself, Peter Aberline has kindly contributed CMake files to be used with Eclipse (and other IDEs using CMake). You could look at those in the examples subdirectory of RInside. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel