REditorSupport / REditorSupport/vscode-R
How to preview a plot using absolute size
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
As a researcher, the main purpose of plotting is to put it in my article, I usually specify the base_size as 7 in the ggplot2's theme() to meet the journal's requirements, and then save it as svg with ggsave(), specifying, for example, the width as 40mm and the height as 32mm.
But in order to confirm the effect, I need to keep switching between vscode and edge. Is there any way to preview it directly in httpgd?
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 investigating how httpgd is integrated into the vscode-R extension and whether it currently supports previews at an absolute size. Compare that behavior with the issue's ggplot2 theme(), ggsave(), SVG, width, and height example; done means determining and documenting whether the requested preview is supported or what implementation scope is required.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- data-visualization, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100