-
Notifications
You must be signed in to change notification settings - Fork 985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data.table does not compile on OSX 10.13 #2406
Comments
Also, CRAN provides a binary for MacOS and that now supports OpenMP, so you shouldn't need to compile. If you do need to compile, then our Mac Instructions have been reported to work. Please reopen if there's a problem with the instructions. |
a) CRAN only seems to have MacOS binaries up to R 3.2, not 3.3 or 3.4?
b) Then I tried manually downloading the binary from https://cran.r-project.org/bin/macosx/el-capitan/contrib/3.4/data.table_1.10.4-3.tgz and
b2) I do have a b3) libomp has been deprecated from brew, btw. |
If the binary does not even exist, then this is question for CRAN. Maybe try a different mirror? Let's resolve that first, before trying to compile. |
But that's part of what I'm trying to tell you. Seems the On checking multiple mirrors, the root-cause is the issue is the (2017?) path fork into having subtrees Kludging the el-capitan/mavericks subtree path is also not documented in the R for Mac OS X FAQ. Where is the official CRAN documentation on that split? (so I can mention it to them, and maybe raise a bug on install.packages)? b) is also an issue, esp. under Anaconda. I did resolve it by installing brew llvm and editing ~/.R/Makevars. But I'm trying to flag the level of install pain caused by CRAN breaking the mac.binary paths, and that it will prevent people using data.table, at least with openmp. |
@smcinerney I would start with reporting lack of documentation about that split to R core. |
@jangorecki : I certainly will. Just letting you know inter alia, unless I missed some internal discussion on R-help list, the fact the split happened 2 years ago and noone much flagged it as breaking install.packages() on mac binaries seems to show people stopped using CRAN for installing mac binaries years ago. FYI. After we get that sorted we should revisit data.table's Mac instructions. |
@smcinerney Any luck with CRAN on this? I have a Mac but have installed Linux on it. I don't use MacOS. The info about |
If it is of any help: Updating data.table on macOS 1.12.6 and using R 3.4.4 gives me the following message:
|
Thanks @jaapwalhout. We'll just have to wait for CRAN MacOS on oldrel to happen. I mentioned it to them a few days ago. |
I sent an email to cran@r-project.org about this earlier today. For others finding this in future, CRAN checks page for data.table shows that r-oldrel-osx-x86_64 is a month stale. old-rel means R 3.4.* MacOS binary are usually the slowest, taking a week or two. But 1 month is much more than usual. |
Hope this is relevant. I followed all the steps outlined in the installation doc but still encountered a |
@yiqinfu Fantastic. Please could you add this info to the installations page. The wiki is open access and anybody can change it. You're in the best position to update it correctly. Just to double-check we mean this page: https://github.com/Rdatatable/data.table/wiki/Installation |
@mattdowle Just did! Also tweaked the formatting of the doc. Hope it's clear! Thank you for maintaining the package. |
@yiqinfu The package solves the problem for macOS 10.14! @mattdowle Does data.table prefer llvm to clang6 suggested at https://cran.r-project.org/bin/macosx/tools? I feel using clang6 toolchain is much easier to setup and work best for all packages. Just download |
It seems the
-fopenmp
option to clang now causes an error in Apple LLVM 9.The text was updated successfully, but these errors were encountered: