Description Usage Arguments See Also Examples
This function is a wrapper for library
and
require
. It checks to see if a
package is installed, if not it attempts to install the package from CRAN
and/or any other repository in the pacman repository list.
1 2 |
char |
Character vector containing packages to load. If you are calling
|
install |
logical. If |
update |
logical. If |
character.only |
logical. If |
... |
name(s) of package(s). |
library
,
require
,
install.packages
1 2 3 4 5 6 7 8 9 |
The following packages have been unloaded:
lattice
[1] "rpart" "boot" "foreign" "lattice" "pacman"
The following packages have been unloaded:
lattice, foreign, boot, rpart
[1] "pacman"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.