source("http://bioconductor.org/biocLite.R") options(BioC_mirror="http://mirrors.ustc.edu.cn/bioc/") biocLite("RGalaxy")##这样就用中科大的镜像来下载包啦
install.packages("ABC",repos="https://mirrors.tuna.tsinghua.edu.cn/CRAN/") ## 换成清华镜像
转载于:https://www.cnblogs.com/yahengwang/p/10636670.html