Need help with greta?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

467 Stars 57 Forks Other 1.7K Commits 90 Opened issues


simple and scalable statistical modelling in R

Services available


Need anything else?

Contributors list

greta is an R package for writing statistical models and fitting them by MCMC and optimisation

greta lets you write your own model like in BUGS, JAGS and Stan, except that you write models right in R, it scales well to massive datasets, and it’s easy to extend and build on.

See the website for more information, including tutorials, examples, package documentation, and the greta forum.

You can install the current release version of the package from CRAN:


Or install the development version of

from r-universe:
# Enable this universe
  repos = c(
    gretadev = '',
    CRAN = ''

Install greta


(Note - installing from r-universe is just like installing from CRAN, and should be faster and more convenient than installing from GitHub)

You can also install the development version of

via GitHub:

Codecov test coverage R-CMD-check cran
version license doi joss <!-- badges: end -->

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.