Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-27 Thread Dirk Eddelbuettel
On 27 October 2013 at 15:25, Simon Zehnder wrote: | The answers from Romain and you show exactly how to make things work again. I wasn’t aware of the possibility to override the Makeconf via a new Makevars. I work with environment modules to be able to load different compilers and to test my pa

Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-27 Thread Simon Zehnder
Thanks Dirk! The answers from Romain and you show exactly how to make things work again. I wasn’t aware of the possibility to override the Makeconf via a new Makevars. I work with environment modules to be able to load different compilers and to test my package compilation with them. I can now

Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-27 Thread Dirk Eddelbuettel
On 27 October 2013 at 10:49, Simon Zehnder wrote: | I wonder though, why it uses in Clays case the llvm-g++-4.2 even if it is not there anymore? That has been explained a number of times, eg in the different SO question (eg even the one ref'ed by JJ is a duplicate). An earlier one is http:

Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-27 Thread Simon Zehnder
Yepp, had a similar problem when using my gcc-4.8.1 (clang does not yet provide the openmp library by default - coming soon with Intel’s openmp implementation). It could not find the headers cdefs.h, types.h, etc. The $CFLAGS variable of my GCC-4.8.1 was defined but was not considered by R CMD

Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-27 Thread JJ Allaire
I believe that the problem is that gcc has been removed from command line tools on OS X Mavericks: http://stackoverflow.com/questions/19533220/cannot-install-r-package-from-source-in-mac-osx-maverick On Sun, Oct 27, 2013 at 2:46 AM, wrote: > Hi, > > What does this give you: > > $ R CMD confi

Re: [Rcpp-devel] Problems getting RInside to work on OS X

2013-10-26 Thread romain
Hi, What does this give you: $ R CMD config CXX $ R CMD config CXXFLAGS What happens in an R console when you type: require(devtools) has_devel() Romain Le 2013-10-27 06:02, Claymore M a écrit : I am trying to get RInside to run on my mac (Mavericks). (I was able to get RInline running no

[Rcpp-devel] Problems getting RInside to work on OS X

2013-10-26 Thread Claymore M
I am trying to get RInside to run on my mac (Mavericks). (I was able to get RInline running no problem using Ubuntu at work; "it just worked" with none of the hassle outlined below). I downloaded the package and tried to run: "make rinside_sample0" from within the standard folder of RInline. Thi