Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
993 B · 30 lines
12345678910111213141516171819202122232425262728293031% 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)}\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)}}}\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)}}