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

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=.
主站蜘蛛池模板: 黎平县| 娄烦县| 太湖县| 武陟县| 江永县| 台山市| 无为县| 辉县市| 五大连池市| 乐业县| 龙川县| 黎城县| 淮安市| 宝鸡市| 岑溪市| 明溪县| 彰武县| 涞水县| 沙田区| 尼勒克县| 岑巩县| 江源县| 定边县| 濉溪县| 特克斯县| 池州市| 浮山县| 长武县| 潞城市| 五大连池市| 独山县| 泰来县| 保靖县| 香格里拉县| 天长市| 宁德市| 汨罗市| 沿河| 新河县| 连云港市| 大悟县|