<div dir="ltr"><div>I'm using Mac OS X 10.8.3 with Xcode 4.6.1 and Mountain Lion Command Line Tools (March 2013).<br></div><div><br></div><div>I've installed R.app v.3.0 and in R.app I've installed the packages Rcpp and RInside.</div>
<div><br></div><div>In Xcode I've set Framework Search Paths to /Library/Frameworks and Header Search Paths to /Library/Frameworks/R.framework. (For the latter I've specified "recursive".)</div><div><br>
</div><div>I'm getting many fatal compile-time errors in String.h.</div><div>(full path name: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include/Rcpp/String.h)</div><div><br></div><div>(Incidentally, the Xcode Issue Navigator shows string.h (lower case s) for the file name, which is puzzling as file names are case sensitive.)</div>
<div><br></div><div>I'm using the default compiler. Clang LLVM 1.0 reports 20 errors and then gives up.</div><div><br></div><div>So…</div><div><br></div><div>I'm unsuccessful running my first simple test case and am stumped. Any advice would be greatly appreciated.</div>
<div><br></div><div>My test program is:</div><div><br></div><div>#include <RInside.h></div><div>int main(int argc, const char * argv[])</div><div>{</div><div>    RInside R(argc, argv);              // create an embedded R instance</div>
<div>    R["txt"] = "Hello, world!\n";<span class="" style="white-space:pre">     </span>// assign a char* (string) to 'txt'</div><div>    R.parseEvalQ("cat(txt)");           // eval the init string, ignoring any returns</div>
<div>    return 0;</div><div>}</div><div><br></div></div>