Skip to content

rstan

R Interface to Stan

v2.32.7 · Mar 10, 2025 · GPL (>= 3)

Description

User-facing R functions are provided 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.

Downloads

1.1M

Last 30 days

50th

1.1M

Last 90 days

1.1M

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (17 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 49.5Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib   34.2Mb
    libs  11.7Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 50.0Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib   34.7Mb
    libs  11.7Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.6Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib    1.8Mb
    libs   1.3Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 49.5Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib   34.2Mb
    libs  11.7Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 50.0Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib   34.7Mb
    libs  11.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.6Mb
  sub-directories of 1Mb or more:
    exec   1.7Mb
    lib    1.8Mb
    libs   1.3Mb

Reverse Dependencies (230)

Dependency Network

Dependencies Reverse dependencies StanHeaders stats4 inline gridExtra Rcpp RcppParallel loo pkgbuild QuickJSR ggplot2 BayesianPlatformDesignTimeTrend DrBats GPP GPRMortality HCT JMbayes MADPop MIXFIM RStanTVA bayesvl bmscstan clinDR edstan evidence iCARH +215 more reverse deps rstan

Version History

new 2.32.7 Mar 9, 2026