6.8 Downloading packages using RStudio

RStudio has a point-and-click interface to download packages. In the pane that says “Files, Plots, Packages, Help, Viewer” click on “Packages”. When the panel shift below “Packages” it will say “Install, Update, Packrat.” Click on “Install.” (There might be a lag during this process as RStudio get info about your packages). In the pop up widow there will be a middle field “Packages” where you can type the name of your package. There’s an auto-complete feature to help you in case you forget the name. Then click “install.” Note that in the bottom right corner of the pop up is a checked box next to “Install dependencies.” Leave that checked; more on that later.