powered by
The global workspace is cleared; clear is a shortcut for the usual rm(list=ls()).
clear
rm(list=ls())
clear()
rm; ls;
rm
ls
# NOT RUN { ## Declare variables a <- 1 b <- "abc" ls() ## Clear workspace clear() ls() # }
Run the code above in your browser using DataLab