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

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")
主站蜘蛛池模板: 醴陵市| 上饶县| 沙洋县| 沾益县| 赤水市| 论坛| 军事| 沙坪坝区| 白水县| 玉门市| 隆昌县| 剑川县| 汉川市| 嘉义市| 平江县| 社会| 怀集县| 宜君县| 仙居县| 庆元县| 财经| 胶南市| 靖远县| 玉山县| 澄迈县| 长子县| 莒南县| 陵水| 赣州市| 龙陵县| 苗栗县| 锡林郭勒盟| 南郑县| 新河县| 阳春市| 青川县| 江孜县| 静宁县| 汉中市| 彭阳县| 五家渠市|