最佳答案
I have code to clear the workspace: rm(list=ls())
and code to clear the console: cat("\014")
Is there code to clear all plots from Rstudio?