[R] how to detach a library?

Emmanuel Paradis paradis at isem.univ-montp2.fr
Tue Sep 5 14:26:48 CEST 2000

At 10:12 05/09/00 +0100, you wrote:
>Dear R-users,
>What command do I need to use to detach a library?
>(without restart the R session).


Use detach(package:...), for instance:

> search()
[1] ".GlobalEnv"    "package:ctest" "Autoloads"     "package:base" 
> detach(package:ctest)
> search()
[1] ".GlobalEnv"   "Autoloads"    "package:base"

Emmanuel Paradis
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list