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.:
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())
Try running this:
dev.off()
Check if it works:
plot(rnorm(50), rnorm(50))