Re: [R] How to remove all objects except the sequence

2011-10-20 Thread Araujo . Enciso
Thanks a lot for the answer, it works and really improves the speed of the loop. Best, Sergio René El , Eik Vettorazzi escribió: > Hi Sergio, > how about this: > rm(list=setdiff(ls(),"z")) > cheers. > Am 20.10.2011 11:00, schrieb Sergio René Araujo Enciso: > > Dear All: > > > > I w

Re: [R] How to remove all objects except the sequence

2011-10-20 Thread Eik Vettorazzi
Hi Sergio, how about this: rm(list=setdiff(ls(),"z")) cheers. Am 20.10.2011 11:00, schrieb Sergio René Araujo Enciso: > Dear All: > > I would like to know if there is plausible way to say to R to remove all > elements in the memory but the sequence. I have a code which makes a loop, > and what