## Not run: ------------------------------------
# # Unload package that is in current directory
# unload(".")
#
# # Unload package that is in ./ggplot2/
# unload("ggplot2/")
#
# # Can use inst() to find the path of an installed package
# # This will load and unload the installed ggplot2 package
# library(ggplot2)
# unload(inst("ggplot2"))
## ---------------------------------------------
Run the code above in your browser using DataCamp Workspace