Re: [R] Reading through a group of .RData files

From: Talbot Katz <>
Date: Tue, 11 Dec 2007 13:42:17 -0500

Thanks again, Benilton, I found your suggestions very helpful. But I couldn't seem to use the lapply / get combination to remove the objects that were loaded. The best I could come up with was:  

eval( parse( text = paste( "rm(", paste( myObj, collapse = "," ), " )", sep = "" ) ) )  

I'm wondering whether there's a cleaner / easier way to remove a set of objects whose names are listed in a character array (as returned by load) ?  

Thank you! mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 11 Dec 2007 - 18:45:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 11 Dec 2007 - 19:30:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.