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 | |
---|---|---|---|---|
Cmdstanr backend ends R process in Emacs but not terminal | 3 | 539 | September 21, 2023 | |
R Wrapper for CmdStan | 11 | 1351 | July 24, 2023 | |
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 | 1065 | June 23, 2021 | |
Most stable Stan interface(s) | 2 | 797 | March 27, 2020 | |
Using cmdstanr crashing RStudio | 7 | 723 | December 15, 2023 |