Hi,<br><br>I would like to use the RInside package. When running make in the examples directory /Library/Frameworks/R.framework/Resources/library/RInside/examples I have two problems.<br><br>First: whenever running R it first writes "WARNING: ignoring environment value of R_HOME" causing all sorts of compilation problems.<br>
<br>Second: after manually curing the above issue I get compilation errors of the following type:<br><br>make<br>g++ -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/library/Rcpp/lib -I/Library/Frameworks/R.framework/Resources/library/RInside/lib -g -O2 -Wall -I/usr/local/include -s rinside_sample0.cpp -F/Library/Frameworks/R.framework/.. -framework R -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/library/Rcpp/lib -lRcpp -L/Library/Frameworks/R.framework/Resources/library/RInside/lib -lRInside -o rinside_sample0<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isObject() const’:<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:187: error: no matching function for call to ‘Rcpp::RObject::Rf_isObject(SEXPREC* const&) const’<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:187: note: candidates are: bool Rcpp::RObject::Rf_isObject() const<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isS4() const’:<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:192: error: no matching function for call to ‘Rcpp::RObject::Rf_isS4(SEXPREC* const&) const’<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:192: note: candidates are: bool Rcpp::RObject::Rf_isS4() const<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::Rf_length() const’:<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: error: no matching function for call to ‘Rcpp::IntegerVector::Rf_length(SEXPREC* const&) const’<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::size() const’:<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:54: error: no matching function for call to ‘Rcpp::IntegerVector::Rf_length(SEXPREC* const&) const’<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RawVector.h: In member function ‘int Rcpp::RawVector::Rf_length() const’:<br>.<br>.<br>.<br>.<br><br>Could you please let me know whether you know of this issue and how it could be solved?<br>
<br>Thanks, <br><br>Christian<br>