[Rcpp-devel] dplyr Rcpp dependencies compilation errors

2016-04-05 Thread Dimitar Vassilev
Hello, I'm trying to compile dplyr on Solaris 11.2 pkg://solaris/entire@0.5.11,5.11-0.175.2.15.0.5.1:20151026T231525Z > install.packages("dplyr"); trying URL 'http://cran.uni-muenster.de/src/contrib/dplyr_0.4.3.tar.gz' Content type 'application/x-gzip' length 655997 bytes (640 KB) ===

Re: [Rcpp-devel] dplyr Rcpp dependencies compilation errors

2016-04-05 Thread Dirk Eddelbuettel
On 5 April 2016 at 10:36, Dimitar Vassilev wrote: | I'm trying to compile dplyr on Solaris 11.2 | pkg://solaris/entire@0.5.11,5.11-0.175.2.15.0.5.1:20151026T231525Z I think you're on your own there. Maybe ask the Oracle folk (cf recent r-devel threads) for help. Our package works fine with g++,

[Rcpp-devel] clang-omp and clang++ -fopenmp compiler (OS X)

2016-04-05 Thread Yue Li
Dear List, I’m new to openmp and wonder if anyone know how to add -fopenmp to clang++ such that it can compile successfully without error using sourceCpp. Using the dmvnorm_arma as example (http://gallery.rcpp.org/articles/dmvnorm_arma/ ): I got

Re: [Rcpp-devel] clang-omp and clang++ -fopenmp compiler (OS X)

2016-04-05 Thread Qiang Kou
Hi, Li, Please create the file "~/.R/Makevars" and put the following content in it CC=clang-omp CXX=clang-omp++ CFLAGS += -O3 -Wall -pipe -pedantic CXXFLAGS += -O3 -Wall -pipe -Wno-unused -pedantic -fopenmp You can add or change flags in this file. Best, KK On Tue, Apr 5, 2016 at 10:14 AM, Yu

Re: [Rcpp-devel] clang-omp and clang++ -fopenmp compiler (OS X)

2016-04-05 Thread Yue Li
Thank you Qiang! That works. Yue > On Apr 5, 2016, at 10:24 AM, Qiang Kou wrote: > > Hi, Li, > > Please create the file "~/.R/Makevars" and put the following content in it > > CC=clang-omp > CXX=clang-omp++ > CFLAGS += -O3 -Wall -pipe -pedantic > CXXFLAGS += -O3 -Wall -pipe -Wno-unused -pedan