Colleagues, I have encountered the following problem using R2.7.0 in Windows (Vista). I want to delete a series of functions before I close an R session. I execute the following commands from a script: FunctionsToDelete <- c("function1", "function2", "function3") for (EachFunction in FunctionsToDelete) { if (exists(EachFunction)) { remove(EachFunction) } else invisible() } This results in a series of warning messages (one message per entry in FunctionsToDelete): Warning in remove(EachFunction) : variable "EachFunction" was not found I tried one variant, changing: remove(EachFunction) to remove(list=EachFunction) Warnings are now issued in the form: Warning in remove(list=EachFunction) : variable"function1" was not found Warning in remove(list=EachFunction) : variable"function2" was not found Any thoughts as to the problem? Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-415-564-2220 www.PLessThan.com [[alternative HTML version deleted]]