How to Install and Load an Add-on Package

Learn how to install and load add-on packages.

We'll cover the following

To install the stargazer package, follow the steps:

  • Open R in Windows
  • Click on Packages on the menu bar
  • Click on Install Packages from the options (picture 1)
  • Select a CRAN mirror site nearby and click OK (picture 2)
  • Select the package to install and click OK (picture 3), and a successful installation will be shown in R console (picture 4).

Get hands-on with 1400+ tech skills courses.