> 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?

On my system (Fedora 17 linux), R.h is located in /usr/include, and it comes
from a general R package, not one connected specifically to Rcpp:

    $ locate R.h
    ...
    /usr/include/R/R.h
    ...

    $ rpm -q -f /usr/include/R/R.h
    R-devel-2.15.1-1.fc17.x86_64

-- Mike
_______________________________________________
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

Reply via email to