To get started see the vignette Getting started with CmdStanR.
CmdStanR is in early stages of development and currently requires
rstan::read_stan_csv() for reading CmdStan output into R (RStan is not used to
compile anything). This dependency on RStan will eventually be removed.
A clean interface to Stan services so that CmdStanR can keep up with Stan releases.
- depend on very few other R packages
- R code doesn't interface directly with c++, only calls compiled executables
Modularity: CmdStanR runs Stan's algorithms and lets downstream modules do the analysis.
More flexible license: CmdStanR uses the BSD-3 license rather than the GPL-3 license required for RStan.
CmdStanR is not released yet, but will eventually be released as the cmdstanr R package. Currently you can install the development version from GitHub, but expect frequent changes until an official release.
# install.packages("devtools") devtools::install_github("stan-dev/cmdstanr")
There is a lot of work still to be done and contributions are very welcome! If you are interested in contributing please comment on an open issue or open a new one if none are applicable.
CmdStanR, like CmdStan and the core Stan C++ code, is licensed under new BSD.