stan_rdump allow max digits specification
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
It'd be nice if we could specify the number of digits of precision so simulated file outputs didn't get so huge. As is, I see things like this:
K <- 4
N <- 32
x <-
structure(c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 0.0436764488507174, -0.310472063173452,
1.74928640167937, -1.52005793042295, -0.718757839520306, 0.233486781358933,
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate and read the stan_rdump entry point, then inspect how it formats numeric values for simulated files. Determine where a precision setting belongs and verify that the resulting output uses the requested maximum digits while preserving the existing file structure.
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
- 35/100