Skip to content

Commit

Permalink
Merge pull request #929 from stan-dev/clarify-output_dir-doc
Browse files Browse the repository at this point in the history
Clarify in doc that for MCMC `output_dir` contains one file per chain
  • Loading branch information
jgabry authored Mar 14, 2024
2 parents 28329d7 + 7ea302f commit 3d95a90
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 36 deletions.
9 changes: 5 additions & 4 deletions man-roxygen/model-common-args.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@
#' method.
#'
#' @param output_dir (string) A path to a directory where CmdStan should write
#' its output CSV files. For interactive use this can typically be left at
#' `NULL` (temporary directory) since CmdStanR makes the CmdStan output
#' (posterior draws and diagnostics) available in \R via methods of the fitted
#' model objects. The behavior of `output_dir` is as follows:
#' its output CSV files. For MCMC there will be one file per chain; for other
#' methods there will be a single file. For interactive use this can typically
#' be left at `NULL` (temporary directory) since CmdStanR makes the CmdStan
#' output (posterior draws and diagnostics) available in \R via methods of the
#' fitted model objects. The behavior of `output_dir` is as follows:
#' * If `NULL` (the default), then the CSV files are written to a temporary
#' directory and only saved permanently if the user calls one of the `$save_*`
#' methods of the fitted model object (e.g.,
Expand Down
9 changes: 5 additions & 4 deletions man/model-method-diagnose.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-generate-quantities.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-laplace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-optimize.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-pathfinder.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-sample.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-sample_mpi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions man/model-method-variational.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d95a90

Please sign in to comment.