Skip to content

Instantly share code, notes, and snippets.

@techrah
techrah / Makevars
Last active April 11, 2021 15:40
~/.R/Makevars
# macOS Makevars configuration for LLVM/GCC
# for OpenMP support with R v4.0.x
#
# For installation details, see
# http://ryanhomer.github.io/posts/build-openmp-macos-catalina-complete
#
# Some sources used as reference:
# https://github.com/Rdatatable/data.table/wiki/Installation
# https://asieira.github.io/using-openmp-with-r-packages-in-os-x.html
# https://thecoatlessprofessor.com/programming/openmp-in-r-on-os-x/