[R] How to remove all objects except a few specified objects?

Cheng Peng cpeng at usm.maine.edu
Mon Aug 23 21:00:04 CEST 2010


How to remove all R objects in the RAM except for a few specified ones?
rm(list=ls()) removes all R objects in the R work space.

Another question is that whether removing all R objects actually releases
the RAM? Thanks.
-- 
View this message in context: http://r.789695.n4.nabble.com/How-to-remove-all-objects-except-a-few-specified-objects-tp2335651p2335651.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list