[Rcpp-devel] Where is R.h and the other header files?

Dirk Eddelbuettel edd at debian.org
Mon Aug 27 01:58:25 CEST 2012


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 | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list