Set up a new plotting device
set_graphics.RdThis function closes all existing graphical devices and opens a new one with specified width and height dimensions.
Details
The set_graphics function first closes all open graphical devices using
graphics.off().
It then opens a new graphical device with the given dimensions using
dev.new().
The unit parameter is set to "cm" to use centimeters for the dimensions,
and noRStudioGD is set to TRUE to avoid using RStudio's graphical device.