What command can I use to find and set plot window to maximum available, i.e. one that will produce a plot window as one gets after clicking on maximize button of top bar?
I searched and found that while running R on Windows one can use windows(width,height)
function while on linux one can use X11.options()
. One can also insert a line the file: ~/.Xresources: R_x11*geometry
: 600x600 as suggested on this page.
However, I could not find how to get maximum size possible on the computer where the program is run and what is the best way to set the plot window to the maximum size using R commands.