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

How it works…

In any of the commands to install a library, either install.packages(), install_github(), or biocLite(), first, it connects with the mirror server where the source code / binary-released version of the specified library is located. Then, it checks whether the dependent libraries are installed onto the computer or not. If the required dependent library is absent, then it will download and install those required libraries before installing the one you specified through the command. The command will also search for the location where the installed library will be stored. You can explicitly specify the location or you can use the default. The recommended approach is to specify a location and install all customized libraries into that folder.

To specify the installation location, you can use the lib= option within the function. Make sure you have created the folder that you are going to use as the destination folder. Here is an example:

    install.packages("ggplot2", lib="c:/rPackages")
主站蜘蛛池模板: 三都| 昌江| 永胜县| 嘉义市| 大化| 睢宁县| 孟州市| 慈利县| 麻江县| 宾阳县| 昭平县| 治县。| 乌拉特后旗| 广平县| 富源县| 乐清市| 和政县| 将乐县| 忻州市| 京山县| 华亭县| 新干县| 博乐市| 建湖县| 大田县| 孟津县| 威信县| 南和县| 晋城| 岳西县| 永安市| 星子县| 广饶县| 保康县| 通山县| 德州市| 汉川市| 辽阳县| 蚌埠市| 博白县| 车险|