On Mon, 12 May 2008, [EMAIL PROTECTED] wrote:

Hey, I have a question about including the R framework in a file. When
I attempt to use:

#include <R/R.h>

Did you really do that?  It is <R.h> that is documented.

And compile I get the following error:
/Library/Frameworks/R.framework/Headers/R.h:40:21: error: Rconfig.h:
No such file or directory
/Library/Frameworks/R.framework/Headers/R.h:41:57: error: R_ext/
Arith.h: No such file or directory
/Library/Frameworks/R.framework/Headers/R.h:42:50: error: R_ext/
Boolean.h: No such file or directory
/Library/Frameworks/R.framework/Headers/R.h:43:50: error: R_ext/
Complex.h: No such file or directory

What am I doing wrong?

We don't know what you are doing to answer that! Please provide us with a transcript of what you did. E.g. did you use R CMD SHLIB or R CMD COMPILE to do the compilation? And what compiler command led to those errrors?


Thanks!
Adam

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to