R语言扩展包的基本操作

Heaven Zone | 2018-06-07  |  R / package

加载扩展包

library(ggplot2)
require(blogdown, quietly = TRUE)

取消加载扩展包

detach(name = "package:ggplot2")

删除已安装的扩展包

remove. packages(c("pkg1","pkg2") , lib = file .path("path", "to", "library"))

获取扩展包的帮助文档

help(package = "ggplot2")