Packages already included in the initial installation may not have functions that you need. In R, you can easily install and load additional packages provided by other users.
- To install packages:
You can either use install.packages() function
or click Tools > Install packages. Write the package name in the dialog, then click install.
- Once you install the package, you need to load it so that it becomes available to use. Simply use library() function.