# Error occurs when running schools example by calling stan() in R

**URL:** <https://discourse.mc-stan.org/t/error-occurs-when-running-schools-example-by-calling-stan-in-r/34788>\
**Category:** RStan\
**Tags:** rstan, fitting-issues\
**Created:** [April 12, 2024, 8:15pm UTC](https://discourse.mc-stan.org/t/error-occurs-when-running-schools-example-by-calling-stan-in-r/34788 "2024-04-12T20:15:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wpetry](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/wpetry/32/4852_2.png) [@wpetry](https://discourse.mc-stan.org/u/wpetry)\
**Post date:** [April 17, 2024, 1:02pm UTC](https://discourse.mc-stan.org/t/error-occurs-when-running-schools-example-by-calling-stan-in-r/34788/2 "2024-04-17T13:02:14Z")

</div>

Maybe related to: [Can't compile simple stan code on M1 MacOS Ventura](https://discourse.mc-stan.org/t/cant-compile-simple-stan-code-on-m1-macos-ventura/32277)?

---

_[View the full topic](https://discourse.mc-stan.org/t/error-occurs-when-running-schools-example-by-calling-stan-in-r/34788)._
