'R stops responding when trying to plot

When trying to draw any plot R just stops responding.

plot(1:10)

The result is not responding. I am using MacBook M1 pro. It was working perfectly. Just suddenly it happened. Help me out. I reinstall R again but getting the same thing.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source