Rstudio unable to print any figures in R markdown

Hi,

Starting this morning, my Rstudio could no longer print figures. If I use dev.off 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?