-
Notifications
You must be signed in to change notification settings - Fork 9
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
segfault in R3.4.3 on Mac #23
Comments
Strange. I was not able to reproduce the error on high Sierra.
|
Are you seeing the issue on any other operating system? and can you try cloning the package and building it. I am curious if you can build it without any issues |
Thanks for checking @JackStat! From your
|
Ok this likely sounds scarier than it is. Can you follow this guide and try again? https://thecoatlessprofessor.com/programming/openmp-in-r-on-os-x/#after-3-4-0 |
I installed clang4.0.0 and was able to build the package from github and run the code successfully. I already had gfortran 6.3 installed. Interestingly, ModelMetrics 1.1.0 from CRAN now also works. Is it feasible to use ModelMetrics (and Caret) without installing clang and gfortran? Thanks! |
I will do some research on this and see if there is a viable alternative to OpenMP. Posix threading is standard in Cpp 11 but I need some time to figure that out |
Thanks @JackStat. Would it be possible to have |
Maybe obvious- but others may also find themselves here just needing to install OMP ( |
@JackStat FYI Running caret with metric "ROC" consistently produces a segfault on macOS (sierra) with R3.4.3. The segfault message is shown below. Example code also shown below. I have been able to reproduce on multiple different datasets and estimation algorithms. The segfault message refers to
ModelMetrics_auc
. The code example works fine if I provide my own function to calculate auc.I hope you'll be able to take a look at this. Please let me know if you need more information. Thanks
cc-ing @topepo
Session Info:
The text was updated successfully, but these errors were encountered: