REditorSupport / REditorSupport/vscode-R
httpgd not showing plots and plot do not show up on show viewers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Describe the bug
I've installed the httpgd package and made the main settings changes like "r.plot.useHttpgd": true and added options(vsc.use_httpgd = TRUE) to my Rprofile but plots are neither showing up or seem to be ploted anywhere (using RPlot: Show viewers or httpgd::hgd_view()
To Reproduce
Install R, languageserver, radian, httpgd, R VS Code extension, added radian path to rmac and added settings and Rprofile changes for httpgd to be used instead of PNG. Then attempted top plot any example hist(rnorm(100))
Can you fix this issue by yourself? (We appreciate the help)
No
Expected behavior
plots showing up in R Plot view
Environment (please complete the following information):
- OS: macOS Sonoma
- VSCode Version: 1.84.2
- R Version: 4.3.2
- vscode-R version: 2.8.2
Contributor guide
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
Start by reproducing the failure with RPlot: Show viewers and httpgd::hgd_view(), using hist(rnorm(100)) under the reported macOS, VS Code, R, and vscode-R versions. Trace the httpgd plot display path and verify that the plot appears in the R Plot view and through the viewer command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- data-visualization, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100