attach_common_packages | R Documentation |
By default this function will attach the packages
dplyr
, tidyr
, readr
, and ggplot2
.
You can avoid attaching any of these packages via the packages_to_omit
parameter.
If any additional packages are requested via the additional_packages
parameter, those packages will be attached as well.
Information will be printed to the console listing which packages were
attached, which could not be attached, and what functions from the attached
packages mask other functions that were on the search path before calling
attach_common_packages()
.
attach_common_packages(additional_packages = NULL, packages_to_omit = NULL)
additional_packages |
A character vector giving the names of additional
packages to attach, or |
packages_to_omit |
A character vector giving the names of packages
not to attach, or |
Invisibly returns a character vector giving the names of the packages successfully attached
## Not run:
attach_common_packages()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.