Pre-Compiled 'CmdStan' Models in R Packages

Similar to 'rstantools' for 'rstan', the 'instantiate' package builds pre-compiled 'CmdStan' models into CRAN-ready statistical modeling R packages. The models compile once during installation, the executables live inside the file systems of their respective packages, and users have the full power and convenience of 'cmdstanr' without any additional compilation after package installation. This approach saves time and helps R package developers migrate from 'rstan' to the more modern 'cmdstanr'. Packages 'rstantools', 'cmdstanr', 'stannis', and 'stanapi' are similar Stan clients with different objectives.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("instantiate")

0.2.4 by William Michael Landau, a day ago


https://wlandau.github.io/instantiate/, https://github.com/wlandau/instantiate


Report a bug at https://github.com/wlandau/instantiate/issues


Browse source code at https://github.com/cran/instantiate


Authors: William Michael Landau [aut, cre] (ORCID: , Eli Lilly and Company [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports callr, fs, rlang, utils

Suggests knitr, markdown, rmarkdown, testthat, withr


Imported by BSCB, agregR, bvarnet, clmstan, footBayes, hdbayes.


See at CRAN