Loads packages or, if not already installed, installs and loads packages.
Arguments
- package_names
Character vector of one or more package names.
- ...
Additional arguments for
install.packages()
.
Details
Loads packages that are already installed, and if the packages are not already installed, it installs and then loads them.