Graphs don't show up in the plot pane

Welcome to community Jihui.

First, be aware of the difference between R and RStudio's IDE. Because your question mentions a plots pane, I'm assuming you are using RStudio IDE. You might try updating RStudio as well.

Also, the folks that develop the RStudio IDE have a nice troubleshooting guide covering common issues with graphics devices here; Problem with Plots or Graphics Device. Could you walk through these steps, and if they fail (:cry:), come back here with the suggested info about your system?