Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
1.2 kB 34 lines
1234567891011121314151617181920212223242526272829303132333435% Generated by roxygen2: do not edit by hand% Please edit documentation in R/interfaces.R\name{setup_rstan}\alias{setup_rstan}\title{Setup rstan}\usage{setup_rstan(quiet, cores, rstan_auto_write, dry_run = FALSE)}\arguments{\item{quiet}{Logical. If \code{TRUE}, suppresses status messages. This cannot suppress cmdstan messages.}
\item{cores}{Integer. Number of cores to use. Defaults to\code{getOption("mc.cores")}. You must set \code{options(mc.cores = ...)} or pass\code{cores} explicitly.}
\item{rstan_auto_write}{Logical. If \code{TRUE} (default), sets \code{rstan::rstan_options(auto_write = TRUE)}}
\item{dry_run}{Logical. If \code{TRUE}, previews mutating setup actions withoutinstalling, attaching, changing options, or prompting. Dry-run output isshown even when \code{quiet = TRUE}.}}\value{Returns \code{NULL} invisibly.}\description{Configures \code{rstan} to use available cores and write compiled models to disk.Prefer \code{setup_interface()} for user-facing setup since it performs argumentvalidation and defaults; \code{setup_rstan()} assumes inputs are already checked.}\examples{\dontrun{setup_rstan(quiet = TRUE, cores = 2, rstan_auto_write = TRUE)}}