Re: [R] Fixing the size of R's Graphic Device

2022-08-25 Thread Christofer Bogaso
I really dont know what could be the right value. So I am trying to get the right value based on trial and error. All I want is that the graphic windows' height should occupy the height of my screen and width should be ~70% of width of my scream I am using Mac desktop (21.5 inch 2017 model) but r

Re: [R] Fixing the size of R's Graphic Device

2022-08-25 Thread Christofer Bogaso
Thanks. But this is woking upto some number For example options(device=function()windows(width=303,height=354,xpos=-5,ypos=9)) graphics.off() plot(1:10) and options(device=function()windows(width=303,height=394,xpos=-5,ypos=9)) graphics.off() plot(1:10) do not change the height of device On

Re: [R] Fixing the size of R's Graphic Device

2022-08-25 Thread Christofer Bogaso
Hi, I am using a large screen monitor, the default size comes with fairly small maybe smaller than a quarter. Is there any to get exact measure of the default size? I am using R in WIndows 11 OS On Thu, Aug 25, 2022 at 11:54 PM Jeff Newmiller wrote: > > What is your default graphics device? Th

Re: [R] Fixing the size of R's Graphic Device

2022-08-25 Thread Bert Gunter
See ?Startup for various ways of automatically executing custom code at R start up. See ?setHook and ?.onLoad for how to run custom code when packages (like grDevices) are loaded. (But Jeff may be able to help you avoid even this if you respond to his queries). Cheers, Bert On Thu, Aug 25, 20