rm(list = ls(pattern = "object")) Michael
On Fri, Feb 24, 2012 at 4:40 PM, katarv <katiasm...@gmail.com> wrote: > Hi, > > I'm trying to figure out syntax R function rm() needs to remove all objects > starting with same name. For example, if I have object1, object2, object3, > i want to do an operation similar to UNIX rm object* > > Thanks. > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/remove-multiple-objects-starting-with-same-name-tp4418694p4418694.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.