RStudio suddenly stopped showing plots in the plot pane

后端 未结 8 1270
一生所求
一生所求 2021-02-04 03:59

RStudio is not showing the generated plots in the plot pane anymore. Instead they open in a separate file with the name "Quartz". Here\'s my session info.:



        
8条回答
  •  独厮守ぢ
    2021-02-04 04:56

    For me, it worked when I first closed all the devices @udit-gupta. Recursively closing all the devices after finding the devices.

    dev.cur()
    dev.off(i) #where i = index of device to be switched off
    

    get the device back with

    getOption("device")
    

    or

    dev.set(which = dev.next())
    

提交回复
热议问题