vscode-R
vscode-R copied to clipboard
How to preview a plot using absolute size
trafficstars
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?