Rstudio unable to print any figures in R markdown


Starting this morning, my Rstudio could no longer print figures. If I use and save figures to pdf files, figures can be successfully saved. However, if I use print() function to print out figures, it loads for a very long time, and cannot print figures. Any attempt to stop this function leads to termination of Rstudio. Can you help?