Make R Studio plots only show up in new window

前端 未结 5 489
鱼传尺愫
鱼传尺愫 2021-02-08 19:26

When using R Studio, I usually just work with an .R file stacked on top of the Console. I keep the other panes (Environment, History, Files, etc) hidden.

But whenever I

5条回答
  •  误落风尘
    2021-02-08 19:56

    In RStudio, the default graphics device is normally "RStudioGD". You can change that to something else: the normal choices are "windows" on Windows, "quartz" on MacOS, "X11" on Linux. So for example, use

    options(device = "quartz")
    

    in your RStudio session on a Mac and you'll get the regular MacOS graphics window.

提交回复
热议问题