# Cmdstanr gets stuck in compilation

**URL:** <https://discourse.mc-stan.org/t/cmdstanr-gets-stuck-in-compilation/14173>\
**Category:** Interfaces\
**Tags:** cmdstanr\
**Created:** [April 8, 2020, 2:59am UTC](https://discourse.mc-stan.org/t/cmdstanr-gets-stuck-in-compilation/14173 "2020-04-08T02:59:53Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mitzimorris](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/mitzimorris/32/29_2.png) [@mitzimorris](https://discourse.mc-stan.org/u/mitzimorris)\
**Post date:** [April 8, 2020, 4:30pm UTC](https://discourse.mc-stan.org/t/cmdstanr-gets-stuck-in-compilation/14173/9 "2020-04-08T16:30:25Z")

</div>

perhaps this is due to the `~/.Renviron` file? cf [CmdStanR - install\_cmdstan() not finishing build of cmdstan - #14 by rok\_cesnovar](https://discourse.mc-stan.org/t/cmdstanr-install-cmdstan-not-finishing-build-of-cmdstan/11929/14)

here’s the initial report:

> [@stijn](#):
>
> I starting using cmdstan awhile ago. Last week, I installed the macos-rtools to get rstanarm and brms working again on Catalina. All went well as far as I could see. However, when I tried to use cmdstanr again I got errors that made me think that because I switched compilers I had to recompile cmdstan.

---

_[View the full topic](https://discourse.mc-stan.org/t/cmdstanr-gets-stuck-in-compilation/14173)._
