[R-SIG-Mac] Xcode

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 13 09:22:05 CEST 2008


On Mon, 12 May 2008, hinz.adam at gmail.com 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
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
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



More information about the R-SIG-Mac mailing list