Remove (uninstall) R packages.
remove(packages, library = NULL, project = NULL)A character vector of R packages to remove.
The library from which packages should be removed. When
NULL, the active library (that is, the first entry reported in
.libPaths()) is used instead.
The project directory. If NULL, then the active
project will be used. If no project has been specifically activated,
the current working directory is used.