r - RStudio windows size -


in rstudio, can adjust size of 4 windows (or panels): text editor, console, environment/history, files/plots/packages/help/viewer.

i export plots rstudio , paste in ms word or save image file. concern size of plot different every time because adjust size of panels need.

is there way adjust panels' sizes same sizes did before after randomly adjust panel sizes? if can specify panel size numbers, can it, rstudio not provide such feature.

this code writes plot in png format (good web), specified width, height, , resolution. (in case, 400 pixels / 72 pixels per inch = 5.56 inches across--every time). see here more detail , other formats.

png(file="your_plot",width=400,height=350,res=72) 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -