I just noticed the page on CmdStanR at https://mc-stan.org/cmdstanr/, and I think it’s worth mentioning one other motivation for having something like CmdStanR: stability. RStan seems to destabilize R in some way, causing it to unexpectedly crash at inopportune moments. It doesn’t happen a lot; usually it happens after enough time has passed that I’ve relaxed my guard and stopped being diligent about doing saveRDS() immediately after running HMC. :-( I expect that having Stan run in an entirely separate process should prevent this kind of thing from happening in CmdStanR.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Most stable Stan interface(s) | 2 | 822 | March 27, 2020 | |
| R goes really slow implemented Rstan. Don't know what happened | 8 | 1735 | January 3, 2021 | |
| R and RStudio crashing during sampling phase of the stan execution | 1 | 1615 | July 18, 2018 | |
| Rstan crashes after first iteration on one of two Windows machines | 1 | 1445 | June 5, 2017 | |
| Model runs in rstan but not in cmdstan; also additional problems with the R GUI (but not Rstudio or running R from the terminal) | 4 | 1085 | June 23, 2021 |