Hi,<br><br>I tried to compile under linux, too and obtain the same problem (the second problem) when compiling the examples. (Before I tried to do it under MacOSX).<br><br>Any hint would be appreciated!<br><br>Thanks,<br><br>
Christian<br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 12:58 PM, Christian Ledergerber <span dir="ltr">&lt;<a href="mailto:ledergec@gmail.com">ledergec@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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 &quot;WARNING: ignoring environment value of R_HOME&quot; 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&amp;) 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&amp;) 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&amp;) 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&amp;) 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><font color="#888888"><br>Christian<br>
</font></blockquote></div><br>