Skip to content

Xcode

2 messages · hinz.adam at gmail.com, Brian Ripley

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

#include <R/R.h>

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?

Thanks!
Adam
#
On Mon, 12 May 2008, hinz.adam at gmail.com wrote:

            
Did you really do that?  It is <R.h> that is documented.
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?