How do I remove all objects except one in R? -- Thanks, Jim. [[alternative HTML version deleted]]
On 13.04.2011 00:39, Jim Silverton wrote:> How do I remove all objects except one in R? > >rm(list=ls()) #will remove ALL objects
#replace v with whatever rm(list=(ls()[ls()!="v"])) -- View this message in context: http://r.789695.n4.nabble.com/Removing-objects-and-clearing-memory-tp3445763p3445865.html Sent from the R help mailing list archive at Nabble.com.