rm(list=ls(all=TRUE)) but be careful to use it.
2007/11/25, Jonas Stein <[EMAIL PROTECTED]>: > Hi, > > as i am quite new to R i often play around with commands in R until my graph > looks nice. > > After testing things there are often lots of variables left. How can i reset > all vars in one command before i do the final plot? > > At the moment i restart rkward (my editor) but thats a bit uncomfortable... > > -- > kind regards, > > Jonas Stein <[EMAIL PROTECTED]> > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.