Hi,<div><br></div><div>I am trying to use the Rcpp and RInside package in C++ on my Macbook. </div><div>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?</div>
<div><br></div><div>I downloaded Rcpp_0.9.10.tar package from CRAN. </div><div>I used the following command to compile:</div><div>g++ -I /Users/alectang8888/Downloads/Rcpp/include example.cpp -o example</div><div><br><div>
Thank you in advance.</div><div><br></div><div>regards,</div><div><br></div>-- <br><div>----------------------------------<br>Mingyu Tang</div>
<div>PhD candidate,<br>Department of Statistics,<br>Carnegie Mellon University</div>
<div>Pittsburgh, PA 15213</div><br>
</div>