Hi,

I am trying to use the Rcpp and RInside package in C++ on my Macbook.
When I compile the examples given on the website, the compiler returns that
"R.h: No such file or directory". And also a lot of other header files
cannot be found. And I searched in the package manually, and I did not find
this R.h file as well. Can anyone tell me what's going wrong here?

I downloaded Rcpp_0.9.10.tar package from CRAN.
I used the following command to compile:
g++ -I /Users/alectang8888/Downloads/Rcpp/include example.cpp -o example

Thank you in advance.

regards,

-- 
----------------------------------
Mingyu Tang
PhD candidate,
Department of Statistics,
Carnegie Mellon University
Pittsburgh, PA 15213
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to