RStudio automatically saves plots and does not show preview in Plots pane

Hi,

My RStudio stops showing preview of plots in the Plots pane, but instead saving the plots directly as file in the working directory - (named like Rplot001.png)

Any suggestion how to turn this off and switch back to the default setting (i.e. shows preview in Plots pane and does not save to disk automatically)?

Thanks!

Rstudio version:

RStudio 2022.07.1+554 "Spotted Wakerobin" Release (7872775ebddc40635780ca1ed238934c3345c5de, 2022-07-22) for macOS
Mozilla/5.0 (Macintosh; Intel Mac OS X 12_4_0) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.10 Chrome/69.0.3497.128 Safari/537.36