美文网首页
Install R packages in China

Install R packages in China

作者: 浩瀚之宇 | 来源:发表于2019-05-24 14:49 被阅读0次

    rm(list = ls())
    options()repos options()BioC_mirror
    options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/")
    options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
    options()repos options()BioC_mirror

    if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
    BiocManager::install("GOplot.db",ask = F,update = F)

    相关文章

      网友评论

          本文标题:Install R packages in China

          本文链接:https://www.haomeiwen.com/subject/ijigzqtx.html