stan-dev / stan-dev/bayesplot

`mcmc_pairs()` works differently on an HPC cluster?

Open
#298 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
442
Forks
93
Avg merge
3h 11m
Merged PRs (30d)
1

Description

I can create pairs plots fine on my laptop.

mcmc_pairs(mcmc_out$draws(), np = nuts_params(mcmc_out))

When I run the identical code on the Sharcnet HPC system, if I include np = nuts_params(mcmc_out), the code will fail with the error:

Error in `geom_point()`:
! Problem while computing aesthetics.
ℹ Error occurred in the 2nd layer.
Caused by error in `check_aesthetics()`:
! Aesthetics must be either length 1 or the same as the data (15000)
✖ Fix the following mappings: `colour` and `size`
Run `rlang::last_error()` to see where the error occurred.

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 mcmc_pairs() entry point and the nuts_params(mcmc_out) argument using the provided reproducible snippet. Compare the R and package environments on the laptop and Sharcnet, then determine whether the same call can produce the reported geom_point() error; done means the cause is identified and the behavior is consistent or documented across environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.