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

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")
主站蜘蛛池模板: 米泉市| 台中市| 静海县| 岫岩| 贺州市| 三门峡市| 景泰县| 利辛县| 达拉特旗| 高要市| 遂昌县| 太仆寺旗| 都安| 汨罗市| 将乐县| 阜城县| 蓝田县| 栖霞市| 鄱阳县| 赤水市| 依安县| 孙吴县| 温泉县| 上高县| 岑巩县| 台南市| 邢台县| 涟源市| 乳山市| 恭城| 巴彦淖尔市| 安塞县| 诏安县| 安阳县| 邵阳市| 太康县| 阿瓦提县| 南京市| 大名县| 青川县| 花莲市|