# Error in rstan

**URL:** <https://discourse.mc-stan.org/t/error-in-rstan/11368>\
**Category:** RStan\
**Created:** [October 12, 2019, 4:32pm UTC](https://discourse.mc-stan.org/t/error-in-rstan/11368 "2019-10-12T16:32:42Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![jonah](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jonah/32/200_2.png) [@jonah](https://discourse.mc-stan.org/u/jonah)\
**Post date:** [October 15, 2019, 10:46pm UTC](https://discourse.mc-stan.org/t/error-in-rstan/11368/10 "2019-10-15T22:46:44Z")

</div>

As a last resort, if CmdStan doesn’t have problems with Catalina (I would think more it’s likely to be ok than RStan) then you could try out the new (unreleased, and unannounced until now, and subject to change) CmdStanR interface, which can be installed from GitHub

```
devtools::install_github("stan-dev/cmdstanr")

```

There’s a brief intro vignette showing how to install cmdstan (there’s an `install_cmdstan` function) and then use cmdstanr to fit models from R (and obtain a stanfit object from the results if you want):

[https://mc-stan.org/cmdstanr/articles/cmdstanr.html](https://mc-stan.org/cmdstanr/articles/cmdstanr.html)

The one important feature it’s currently missing is the ability to run chains in parallel, although you could wrap it in a call to mclapply (or something like that).

---

_[View the full topic](https://discourse.mc-stan.org/t/error-in-rstan/11368)._
