其他分享
首页 > 其他分享> > R包安装报错及正确安装方式

R包安装报错及正确安装方式

作者:互联网

安装R包常见报错

新手在安装R包的过程中,经常性的会遇到一些问题,我认为常见的有以下几种:

一、CRAN资源 
install.packages("name")

二、Bioconductor资源
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("name")

三、Github资源 
install.packages("devtools")
library(devtools)
install_github("packagePath")

如有疑问,可添加微信,进群交流。

标签:正确,报错,install,BiocManager,packages,安装,name
来源: https://www.cnblogs.com/R-kenmly/p/11939982.html