This is in the help files for rm, but for non-unix-ians, it seems to be hard to remember. Normally, if I am testing code that should stand on it's own, perhaps that I'll send off to the R-help list or put on here, I'll run this before I send it off:
rm(list=ls())
Read more