stan-dev / stan-dev/rstan

stan_demo() scrolls offscreen

Open
#220 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Moved from issue filed by @rpnabar in https://github.com/stan-dev/stan/issues/1636#issuecomment-147490764

@rpnabar says:

When stan_demo() is invoked in R a very long list of examples scrolls on the screen. It is impossible to look at the list since the earlier examples scross off the screen buffer too.

Can we offer a better interface?

Other programs that do this either have hierarchical selection or wait for a key-press after each screenful of info. e.g. while selecting a CRAN or CPAN mirror.

@rpnabar followed up with:

Package: rstan
Version: 2.8.0
Date: Sep 16, 2015

R terminal on Linux Ubuntu

I cannot scroll back possibly because I'm logging in via ssh via Putty and 331 Lines seem a bit too much for Puttys screen buffer I think. I can scroll back to about the 100th example I think.

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 locating the stan_demo() entry point in the RStan package and inspect how its example list is currently printed in an R terminal. Done means users can review the full list without earlier examples scrolling out of view, using a selectable or paginated interface.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.