helske / bssm

Bayesian Inference of State Space Models
42 stars 14 forks source link

Installation from Github fails on Mac #16

Closed rmendels closed 6 years ago

rmendels commented 6 years ago

Running os 10.12.6, latest Xcode, R3.4.2. This problem has arisen in other packages:

devtools::install_github("helske/bssm") Downloading GitHub repo helske/bssm@master from URL https://api.github.com/repos/helske/bssm/zipball/master Installing bssm '/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ \ --no-save --no-restore --quiet CMD INSTALL \ '/private/var/folders/xw/mcmsdzzx4mgbttplylgs7ysh0000gp/T/RtmpoGVsEQ/devtoolsf4114663d465/helske-bssm-c86446d' \ --library='/Users/rmendels/Library/R/3.4/library' --install-tests

Thanks

rmendels commented 6 years ago

Found a solution - an R compatible version of clang with openmp included:

http://thecoatlessprofessor.com/programming/openmp-in-r-on-os-x/#after-3-4-0

-Roy

helske commented 6 years ago

Yes, I just switched to Mac as well, and found out the same issue couple weeks ago. Glad you got it working.