When I am creating a plot in the plotting pane, the background seems to be transparent (slight pink gridlines visible). I would like to set it to while.
I have used par(bg = 'white'), but it does not change the background.
code
par(bg = 'white')
fig2 <- grid.arrange(p1, p3, ncol=2, widths = c(2.25,2))
plot(fig2, bg='white')
System Information:
- RStudio Edition: (Desktop or Server)
- RStudio Version:
- OS Version:
- R Version:
-
sessionInfo()
:
Referred here from support.rstudio.com