[Rcpp-devel] portable -Wall option in $PKG_CPPFLAGS

2012-08-29 Thread Peng Yu
Hi, I use -Wall option in $PKG_CPPFLAGS. PKG_CPPFLAGS=`echo "Rcpp:::CxxFlags()"|R --vanilla --slave` -Wall -I. But when I check the package, it says * checking for portable compilation flags in Makevars ... WARNING Non-portable flags in variable ‘PKG_CPPFLAGS’: -Wall Does anybody know an opt

Re: [Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

2012-08-29 Thread Dirk Eddelbuettel
On 29 August 2012 at 16:55, Douglas Bates wrote: | I just checked the results page on | http://cran.r-project.org/package=RcppEigen and the package doesn't | compile solaris-sparc and solaris-ix86 with the Sun compilers (which I | believe are very old, predating modern C++) and doesn't compile on

Re: [Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

2012-08-29 Thread Douglas Bates
I just checked the results page on http://cran.r-project.org/package=RcppEigen and the package doesn't compile solaris-sparc and solaris-ix86 with the Sun compilers (which I believe are very old, predating modern C++) and doesn't compile on r-oldrel-macosx-ix86 but that is due to a compiler error i

Re: [Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

2012-08-29 Thread Douglas Bates
On Wed, Aug 29, 2012 at 4:42 PM, Douglas Bates wrote: > On Wed, Aug 29, 2012 at 4:32 PM, Rodney Sparapani wrote: >> Hi Gang: >> >> I have been using CHOLMOD/Suitesparse, but I'm having an issue >> coaxing RcppEigen to see it. I have Matrix, inline, Rcpp and >> RcppEigen installed as well as Suit

Re: [Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

2012-08-29 Thread Douglas Bates
On Wed, Aug 29, 2012 at 4:32 PM, Rodney Sparapani wrote: > Hi Gang: > > I have been using CHOLMOD/Suitesparse, but I'm having an issue > coaxing RcppEigen to see it. I have Matrix, inline, Rcpp and > RcppEigen installed as well as Suitesparse. But, when I run > this simple program (that works wi

[Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

2012-08-29 Thread Rodney Sparapani
Hi Gang: I have been using CHOLMOD/Suitesparse, but I'm having an issue coaxing RcppEigen to see it. I have Matrix, inline, Rcpp and RcppEigen installed as well as Suitesparse. But, when I run this simple program (that works with Rcpp alone)... require(inline) require(Rcpp) require(RcppEigen)

[Rcpp-devel] if a call to parseEvalQ errors out then all subsequent calls to parseEvalQ error out

2012-08-29 Thread Pratibha Rana
Hi, I' developing a c++ application that uses RInside and Rcpp to pass user defined R-code to R and get the results back. I have two problems 1. if there is an error in the .R file that I evaluate using parseEvalQ, I don not get the error back. I just get the text of the R file back. 2. Whenever

Re: [Rcpp-devel] RInside destructor not working properly?

2012-08-29 Thread Christian Sigg
> I assume there must be a "nothing we can do about" reason why RInside > works the way it does. So I wonder if you can create a global RInside > instance using a global test environment call? > > http://code.google.com/p/googletest/wiki/AdvancedGuide#Global_Set-Up_and_Tear-Down Thanks for the hi