how to unload a r library code example Example: r how to unload a library > detach(package:fortunes, unload=TRUE)