The The R Primer logo Primer

Unload a package

You want to "unload" an R package that was loaded

Solution: If you want to unload a package \code{kulife} that was previous loaded using library(kulife) then you can type

detach("package:kulife")

Note, however, that detaching a package may still leave some "portions" behind.

Back to tips.