Install R-packages from github


一些常用的从 github 上安装 R 包的方法:

# 1. devtools
install.packages("devtools", dep=TRUE)
library(devtools)

install_github("caitiecollins/treeWAS", build_vignettes = TRUE)

# 2. githubinstall
library(githubinstall)
install_github('hadlley/dplyr')

# 3. remotes
install.packages('remotes')
remotes::install_git("https://hub.fastgit.xyz/yzhlinscau/AFEchidna.git")

本人经常用第三种方法。


文章作者: zhangchaofan
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 zhangchaofan !
评论
  目录