rstan: R Interface to Stan

User-facing R functions are provided by this package to parse, compile, test, estimate, and analyze Stan models by accessing the header-only Stan library provided by the 'StanHeaders' package. The Stan project develops a probabilistic programming language that implements full Bayesian statistical inference via Markov Chain Monte Carlo, rough Bayesian inference via variational approximation, and (optionally penalized) maximum likelihood estimation via optimization. In all three cases, automatic differentiation is used to quickly and accurately evaluate gradients without burdening the user with the need to derive the partial derivatives.

Version: 2.9.0-3
Depends: R (≥ 3.0.2), ggplot2 (≥ 2.0.0)
Imports: methods, stats4, inline, gridExtra (≥ 2.0.0), Rcpp (≥ 0.11.0)
LinkingTo: Rcpp, RcppEigen, BH (≥ 1.58), StanHeaders (≥ 2.9.0)
Suggests: RUnit, RcppEigen, BH (≥ 1.58), StanHeaders (≥ 2.9.0), parallel, KernSmooth, RCurl, loo, rstudioapi, Matrix
Published: 2016-02-12
Author: Jiqiang Guo [aut], Daniel Lee [ctb], Krzysztof Sakrejda [ctb], Jonah Gabry [aut], Ben Goodrich [cre, aut], Joel de Guzman [cph] (Boost), Eric Niebler [cph] (Boost), Thomas Heller [cph] (Boost), John Fletcher [cph] (Boost)
Maintainer: Ben Goodrich <benjamin.goodrich at>
License: GPL (≥ 3)
NeedsCompilation: yes
Citation: rstan citation info
Materials: NEWS
In views: Bayesian
CRAN checks: rstan results


Reference manual: rstan.pdf
Vignettes: RStan
Package source: rstan_2.9.0-3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: rstan_2.9.0-3.tgz, r-oldrel: not available
OS X Mavericks binaries: r-release: rstan_2.9.0-3.tgz
Old sources: rstan archive

Reverse dependencies:

Reverse depends: brms, CopulaDTA, MIXFIM, varian
Reverse imports: rstanarm
Reverse linking to: rstanarm
Reverse suggests: broom, shinystan