RStan

May 11, 2026 · View on GitHub

CRAN_Status_Badge Downloads Research software impact R-CMD-check

RStan is the R interface to Stan.

Getting Started

For installation instructions and other tips on getting started with RStan see

Several Stan users have also contributed translations of the RStan Getting Started page:

Source Repository

RStan's source code repository is hosted here on GitHub. Stan's source repository is defined as a submodule. See how to work with stan submodule in rstan repo.

Licensing

RStan is licensed under GPLv3. The Stan code packaged in RStan is licensed under new BSD.

All contributions must follow the Stan AI Contribution Policy.