R语言初探

2017-09-06  本文已影响0人  lucus_guo
install.packages()
example,  install.packages("ggplot2")
library(ggplto2)
> require(foreign)
Loading required package: foreign
> is.logical(require(foreign))
[1] TRUE
remove.packages('myPackage')
update.packages()
help(package="ggplot2")
  1. 查看本地的包
    6.1 查看默认加载的包,忽略基本的包
> getOption("defaultPackages")
[1] "datasets" "utils" "grDevices" "graphics" "stats" "methods"
[7] "ggplot2"
上一篇下一篇

猜你喜欢

热点阅读