Answers for "rstudio remove all variables"

3

r remove all environment

rm(list = ls())
Posted by: Guest on April-09-2020
2

remove everything in r

#in R
rm(list=ls()) 
rm(list=setdiff(ls(), c("x","y")))
Posted by: Guest on July-10-2020

Browse Popular Code Answers by Language