Hands-On Exploratory Data Analysis with R
上QQ阅读APP看书,第一时间看更新

Installing R packages from the Terminal

To install R packages from the Terminal, follow these steps:

  1. Open the Terminal
  2. Type and run the following command. Make sure to replace packagename1 with an actual package name, such as dplyr:
install.packages("packagename1")