stan-dev / stan-dev/rstan

RStudio lagging due to stan files

Open
#940 8 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

I have a pretty good computer, and am having a lot of problems using the Stan framework. 1st installation wasn't easy at all. But worse - even though I got it to work - it just super slow. RStudio lags whenever I open a stan file. I cannot save scripts some of the time. When I call the fit function, it literally waits for no good reason for about 2 minutes, and only then runs the chains - and I'm talking about the easy examples in the YouTube official channel...

I decided to uninstall this. Hope you guys improve for the future.

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 reproducing the reported lag when opening a Stan file, saving scripts, and calling the fit function in RStudio, using the simple examples mentioned in the report. Record the R, RStudio, and Stan-related versions and identify a specific reproducible cause; done means the relevant performance problem is isolated and a focused fix can be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.