Description Usage Arguments Examples
View source: R/detachPackage.R
This function allows you unload packages quily by name (or as as string) Source: http://stackoverflow.com/questions/6979917/how-to-unload-a-package-without-restarting-r
1 2 | detachPackage(name4pkg = "puttytat4R", character.only = FALSE,
force = FALSE)
|
name4pkg |
Package name as object name or character |
character.only |
logical. default = FALSE (function will deparse object name to character) |
force |
logical. default = FALSE. If set to TRUE package will be detached even though other attached packages depend on it |
1 2 3 4 5 | #install.packages("ggplot2")
#library(ggplot2)
#unloadPackage(ggplot2)
#library(ggplot2)
#unloadPackage("ggplot2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.