How to Call R from a Mac / Cocoa Appliation?
On 06/13/2013 01:18 PM, William McKibben wrote:
Apologies if this has already been answered, but I couldn't find enough to get me going. I have used Java and R together before, but I'm now porting my app to native Mac OS X and rewriting in Cocoa. I'm pretty clueless about C / C++. I tried and am ready to give up on RInside because Xcode just doesn't like it. I linked to the headers, but Xcode complains about typedef: /Users/william/Finszer/include/Rcpp/string.h:53:17: Use of undeclared identifier 'internal'. I can compile RInside examples with the included makefile, but I'm lost as to how to get Xcode to compile.
I think this question would be better answered on the Rcpp-devel mailing list where RInside discussions occur. Rodney