# Crashing RStudio when compiling brms model

**URL:** <https://discourse.mc-stan.org/t/crashing-rstudio-when-compiling-brms-model/22200>\
**Category:** brms\
**Created:** [April 29, 2021, 4:12pm UTC](https://discourse.mc-stan.org/t/crashing-rstudio-when-compiling-brms-model/22200 "2021-04-29T16:12:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![R\_V](https://avatars.discourse-cdn.com/v4/letter/r/7993a0/32.png) [@R\_V](https://discourse.mc-stan.org/u/R_V)\
**Post date:** [June 14, 2023, 10:47am UTC](https://discourse.mc-stan.org/t/crashing-rstudio-when-compiling-brms-model/22200/6 "2023-06-14T10:47:34Z")

</div>

I have experienced crashes this morning on my Mac and I managed to solve the problem by reinstalling RStan from source. See here:

> **[Installing RStan from Source](https://github.com/stan-dev/rstan/wiki/Installing-RStan-from-Source)**
>
> RStan, the R interface to Stan. Contribute to stan-dev/rstan development by creating an account on GitHub.

[the installation of the development version of RStan from GitHub did not work for me, but it did work with the CRAN version]

---

_[View the full topic](https://discourse.mc-stan.org/t/crashing-rstudio-when-compiling-brms-model/22200)._
