My memory is getting clogged by a bunch of intermediate files (call them temp1
, temp2
, etc.), and I would like to know if it is possible to remove them from memory without doing repeated rm
calls (i.e. rm(temp1)
, rm(temp2)
)?
I tried rm(list(temp1, temp2, etc.))
, but that doesn't seem to work.