# Rstan not working after RStudio update

**URL:** <https://discourse.mc-stan.org/t/rstan-not-working-after-rstudio-update/31500>\
**Category:** RStan\
**Tags:** brms\
**Created:** [May 24, 2023, 6:11pm UTC](https://discourse.mc-stan.org/t/rstan-not-working-after-rstudio-update/31500 "2023-05-24T18:11:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas\_Palma](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/tomas_palma/32/16421_2.png) [@Tomas\_Palma](https://discourse.mc-stan.org/u/Tomas_Palma)\
**Post date:** [May 24, 2023, 6:11pm UTC](https://discourse.mc-stan.org/t/rstan-not-working-after-rstudio-update/31500/1 "2023-05-24T18:11:19Z")

</div>

Hi everyone,

Today I updated RStudio to its latest version (2023.03.1+446) on my two Macbook Pro laptops (one with an Intel chip running macOS Monterey and the other with an Apple m1 chip running macOS Ventura), and now I have been getting this error every time I try to use brms:

Error in unserialize(socklist[[n]]) : error reading from connection

Any idea what is going on here and how to solve it? I never had this problem before running the same analysis with brms.

I really appreciate your help on this.  
Thanks so much
