Closed nickinglis closed 7 years ago
Does parallelDist depend on R >= 3.4.0? The DESCRIPTION file doesn't say so, but I see a lot of things in the release notes for R 3.4.0 that suggest that it might, and I see that the OS/X package binary was built on R 3.4.0.
Hi Nick, this might be a problem with C++11 and Microsoft's R distribution settings (see https://stackoverflow.com/questions/41738088/xgboost-r-package-installation-fails).
In "/usr/lib64/microsoft-r/3.3/lib64/R/etc/Makeconf" set: CXX1X=gcc -std=c++0x CXX1XSTD=-std=c++0x -fPIC
Worked a charm, thank you! Still getting a warning about OpenMP not being used by this compiler, but the package compiles and the unit tests pass so we're running.
I’m trying to install it on CentOS Linux 7 using Microsoft-R Open 3.3.3, and getting the errors below. I’ve tried building on gcc 4.9.2 and 4.8.5. RcppParallel and RcppArmadillo both installed without issue. I’ve tried the source in the tar.gz and from github.
Microsoft R Open 3.3.3 The enhanced R distribution from Microsoft Microsoft packages Copyright (C) 2017 Microsoft Corporation
Using the Intel MKL for parallel mathematical computing(using 2 cores).
Default CRAN mirror snapshot taken on 2017-03-15. See: https://mran.microsoft.com/.