Created
June 16, 2023 15:33
-
-
Save JoFrhwld/105a8a5fc69c1825f27e876ed113069d to your computer and use it in GitHub Desktop.
My brms install as of 2023-06-16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I don't understand why or how this | |
# plus what's in Makevars works, but it's | |
# the only way I can get rstan & brms installed\ | |
# see also: https://github.com/stan-dev/rstan/issues/1070#issuecomment-1570565599 | |
# renv::init(bare = TRUE) | |
Sys.setenv(MAKEFLAGS = "-j4") # four cores used | |
install.packages(c("Rcpp", "RcppEigen", "RcppParallel", "StanHeaders"), type = "source") | |
install.packages("rstan", type = "source") | |
example(stan_model, package = "rstan", run.dontrun = TRUE) | |
install.packages("brms") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment