Write statistical models in R and fit them by 'MCMC' and optimisation on 'CPUs' and 'GPUs', using Google 'TensorFlow'. '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. This work is discussed at Golding (2019) <doi:10.21105/joss.01601>.
| Version: | 0.6.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | abind, callr, cli (≥ 3.4.1), coda, future (≥ 1.22.1), glue (≥ 1.5.1), lifecycle, methods, parallelly (≥ 1.29.0), progress (≥ 1.2.0), R6, reticulate (≥ 1.43.0), rlang, tensorflow (≥ 2.16.0), tools, utils, whisker, yesno |
| Suggests: | bayesplot, covr, cramer, DiagrammeR, dplyr, DiagrammeRsvg, extraDistr, fields, ggplot2, knitr, lattice, MASS, MCMCpack, mockery, mvtnorm, purrr, rmarkdown, rmutil, rsvg, spelling, testthat (≥ 3.1.0), tibble, tidyr, truncdist, withr, rstudioapi |
| Published: | 2026-07-20 |
| DOI: | 10.32614/CRAN.package.greta |
| Author: | Nick Golding |
| Maintainer: | Nicholas Tierney <nicholas.tierney at gmail.com> |
| BugReports: | https://github.com/greta-dev/greta/issues |
| License: | Apache License 2.0 |
| URL: | https://greta-dev.github.io/greta/, https://github.com/greta-dev/greta |
| NeedsCompilation: | no |
| SystemRequirements: | Python (>= 3.7.0) with header files and shared library; TensorFlow (>= v2.0.0; https://www.tensorflow.org/); TensorFlow Probability (v0.8.0; https://www.tensorflow.org/probability/) |
| Language: | en-US |
| Citation: | greta citation info |
| Materials: | NEWS |
| CRAN checks: | greta results |
| Reference manual: | greta.html , greta.pdf |
| Vignettes: |
Example models (source) FAQ (source, R code) Get started with greta (source) Installing dependencies (source, R code) |
| Package source: | greta_0.6.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): greta_0.6.0.tgz, r-oldrel (arm64): greta_0.6.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available |
| Old sources: | greta archive |
| Reverse suggests: | runMCMCbtadjust |
Please use the canonical form https://CRAN.R-project.org/package=greta to link to this page.