RStudio suddenly stopped showing plots in the plot pane

后端 未结 8 1265
一生所求
一生所求 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())
    
    0 讨论(0)
  • 2021-02-04 05:03

    Try running this:

    dev.off()
    

    Check if it works:

    plot(rnorm(50), rnorm(50))
    
    0 讨论(0)
提交回复
热议问题