Skip to content

Commit

Permalink
Merge pull request #1042 from stan-dev/save_object-doc-update
Browse files Browse the repository at this point in the history
Mention vignette section on faster model saving for large models
  • Loading branch information
jgabry authored Nov 20, 2024
2 parents 19e7af8 + 1a040bd commit 4b80205
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ CmdStanFit <- R6::R6Class(
#' read into R lazily (i.e., as needed), the `$save_object()` method is the
#' safest way to guarantee that everything has been read in before saving.
#'
#' See the "Saving fitted model objects" section of the
#' [_Getting started with CmdStanR_](https://mc-stan.org/cmdstanr/articles/cmdstanr.html)
#' vignette for some suggestions on faster model saving for large models.
#'
#' @param file (string) Path where the file should be saved.
#' @param ... Other arguments to pass to [base::saveRDS()] besides `object` and `file`.
#'
Expand Down
4 changes: 4 additions & 0 deletions man/fit-method-save_object.Rd

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

0 comments on commit 4b80205

Please sign in to comment.