官术网_书友最值得收藏!

The ggplot2 library

Lets take a look at the following steps to install the ggplot2 library:

  1. Open the R console or terminal and then type the following command:
      install.packages("ggplot2")

The preceding command line will then ask you to select a server as follows:

      install.packages("ggplot2")
--- Please select a CRAN mirror for use in this session ---
  1. It will now install ggplot2 and its dependent libraries. If you want to avoid selecting a mirror server, then you can specify the mirror server within the install.packages() function using repos=.
主站蜘蛛池模板: 五河县| 常熟市| 泸溪县| 延津县| 包头市| 株洲市| 佛冈县| 故城县| 新巴尔虎右旗| 天柱县| 馆陶县| 阳城县| 涿州市| 嘉峪关市| 和龙市| 金门县| 舒城县| 邹城市| 宁乡县| 启东市| 通化市| 新乡市| 连云港市| 清徐县| 棋牌| 永和县| 临沧市| 惠安县| 阜康市| 安远县| 辛集市| 德江县| 绥芬河市| 陇南市| 怀远县| 丹棱县| 丰顺县| 新竹市| 康马县| 娄烦县| 邳州市|