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

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=.
主站蜘蛛池模板: 文成县| 梁平县| 泰州市| 金川县| 甘谷县| 蕲春县| 金溪县| 江西省| 杭州市| 阿瓦提县| 屯门区| 龙门县| 星子县| 阳高县| 志丹县| 米易县| 安阳县| 香河县| 城口县| 玛纳斯县| 东光县| 治多县| 邵阳市| 阳原县| 资源县| 灵丘县| 桦川县| 隆子县| 中牟县| 拜城县| 孟连| 灵宝市| 全州县| 巴南区| 五峰| 锡林浩特市| 大港区| 大渡口区| 鹤庆县| 治多县| 雷山县|