大力士

V1

2022/10/20阅读:20主题:默认主题

R:安装R包合集

2022年10月20日

[1] install.packages()

install R packages

install.packages("ggplot2")
## parameters
# 镜像地址repos
install.packages("ggplot2", repos = "...")
# dependencies
install.packages("ggplot2", dependencies = TRUE)
install.packages("ggplot2", dependencies = FALSE)

check installed packages

基本无用,因为有Rstudio

installed.packages()

library()

require()

[2] install_github()

install_github("lijian123/rinds")

报错原因:加载时间过长

[3] where are the R packages installed

.libPaths()

[4] uninstall packages

remove.packages("ggplot2")

分类:

后端

标签:

后端

作者介绍

大力士
V1