[R-SIG-Mac] Error when fitting a brms model, maybe associated with Catalina MacOS

Manuel Spínola m@p|no|@10 @end|ng |rom gm@||@com
Wed Dec 11 01:09:43 CET 2019

Dear list members,

When trying to fit this example from the CRAN repository fro brms, I got
the following error message after the 4th chain.  I am using R 3.6.1 in
Catalina MacOS.


group <- rep(c("treat", "placebo"), each = 30)
symptom_post <- c(rnorm(30, mean = 1, sd = 2), rnorm(30, mean = 0, sd = 1))
dat1 <- data.frame(group, symptom_post)

fit1 <- brm(bf(symptom_post ~ group, sigma ~ group),
            data = dat1, family = gaussian())

[1] "Error in sampler$call_sampler(args_list[[i]]) : "
[2] "  c++ exception (unknown reason)"
error occurred during calling the sampler; sampling not done

I think is a problem with Catalina MacOS, but I don´t know how to solve it.


*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
mspinola using una.cr <mspinola using una.ac.cr>
mspinola10 using gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

	[[alternative HTML version deleted]]

More information about the R-SIG-Mac mailing list