Be carefull with this, but: rm(list=ls()) q("yes")
:-) milton On Sat, Jul 25, 2009 at 7:19 AM, Paul Emberson <em...@calidasoft.co.uk>wrote: > Hi John, > > You can use > > rm(object) > > to delete a specific object from the current environment and then save > your workspace again without those objects > > ls() > > to see a list of objects could also be useful > > Regards, > > Paul > > John Seppänen wrote: > > Hi all! I have accidentially saved few objects when I have closed > workspace > > and clicked from "save workspace image" "Yes". Now I would like to delete > > the .RData files so that workspace wouldnt restore the unwanted objects > > everytime I open the workspace. > > > > I know i could delete the corresponding .RData files but the problem is > that > > I don't know which of the files contain the objects i'd like to delete. > > > > I apologize for the newbie question but I haven't found a satisfactory > > answer from Google or R documents.. > > > > Thanks! > > John > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > 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<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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]]
______________________________________________ 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.