Quit and restart a clean R session from within R? January 1, 2023 by Tarik If you’re in RStudio: command/ctrl + shift + F10 You can also use .rs.restartR()