Make R Studio plots only show up in new window

前端 未结 5 603
鱼传尺愫
鱼传尺愫 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条回答
  •  萌比男神i
    2021-02-08 20:17

    Commenting the following lines in "RStudio\R\Tools.R" seems to work...

    # set our graphics device as the default and cause it to be created/set
    .rs.addFunction( "initGraphicsDevice", function()
    {
       # options(device="RStudioGD")
       # grDevices::deviceIsInteractive("RStudioGD")
      grDevices::deviceIsInteractive()
    })
    

提交回复
热议问题