Plot not showing in Rstudio plot pane.

I have made a few plots when suddenly the plots stopped showing in the plot pane of RStudio. I have restarted both the RStudio and my computer several times to no avail.
I tried running the following commands and getting the accompanying responses:

dev.off():
Error in dev.off() : cannot shut down device 1 (the null device)

dev.cur()
null device
1

dev.new()
NULL

options(device = "RStudioGD")

getOption("device")
[1] "RStudioGD"

Despite all these, the plots are still not showing on the plot pane of RStudio.
Please what else do I need to do to get the plot to show up.

Hi, welcome to the forum.

Can you give us all the code that you are using that has led up to this problem?

Just copy it and paste it between
```

```

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.