[R] howto remove all variables (cleanup)

Gabor Csardi csardi at rmki.kfki.hu
Sun Nov 25 13:29:35 CET 2007


rm(list=ls())

G.

On Sun, Nov 25, 2007 at 01:12:19PM +0100, Jonas Stein wrote:
> 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 <news at jonasstein.de>
> 
> ______________________________________________
> R-help at 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.

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    MTA RMKI, ELTE TTK



More information about the R-help mailing list