>> My understanding is that one only clears the variables... not >> functions/packages, etc... > > Not exactly true. rm should remove any function you defined in your current > session. You need to look at > > ?unloadNamespace > ?detach > > ... in order to remove loaded packages.
And read the caveats there. It's basically not possible to reset your R session to a completely clean slate. You're best off just starting a new one. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.