My memory is getting clogged by a bunch of intermediate files (call them temp1, temp2, etc). Is it possible to remove them from memory without doing rm(temp1),
rm(temp1)
An other solution rm(list=ls(pattern="temp")), remove all objects matching the pattern.
rm(list=ls(pattern="temp"))