stan-dev / stan-dev/cmdstanr

Progress bar

Open
#18 48 comments 0 reactions 0 assignees View on GitHub

@josswright is already working on this.

Since Feb 13, 2026.

  • #1138 by @josswright — open
feature
Dominant language
R
Stars
160
Forks
69
Avg merge
1d 19h
Merged PRs (30d)
15

Description

CmdStanPy has a nice progress bar that we can implement in R too.

We are currently using processx::run(..., echo=TRUE) so that the R user sees the output directly from CmdStan, but processx provides a lot more control than that and it looks like it has what we’d need behind the scenes for a progress bar even for chains in parallel.

Contributor guide

Open the contributing guide

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 at the current processx::run(..., echo=TRUE) invocation and inspect the open pull request linked to this issue. Determine how progress output should work when CmdStan chains run in parallel; done means R users see a progress bar instead of only direct CmdStan output.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.