stan-dev / stan-dev/rstan

[Feature Request] Allow `save_dso` to be set via `rstan_options()`?

Open
#1,144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

Can the save_dso arguments be set via rstan_options()? This is handy for working indirectly via other packages like brms .

When compiling many models that cannot re-use the old compiled model, /tmp usually fills up very quickly because save_dso is TRUE by default.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading rstan_options() and tracing how save_dso is currently handled during model compilation. The work is done when save_dso can be configured through rstan_options() and that setting prevents temporary compiled objects from accumulating as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.