Last active
May 23, 2019 08:15
-
-
Save GuangchuangYu/c99977be8529a725f8d9f7972a861b0e to your computer and use it in GitHub Desktop.
mirrorselect for R
Author
GuangchuangYu
commented
Aug 8, 2018
mirror | speed | |
---|---|---|
http://cran.stat.upd.edu.ph/ | http://cran.stat.upd.edu.ph/ | 5.137 |
http://healthstat.snu.ac.kr/CRAN/ | http://healthstat.snu.ac.kr/CRAN/ | 5.244 |
http://cran.ism.ac.jp/ | http://cran.ism.ac.jp/ | 5.260 |
http://ftp.yzu.edu.tw/CRAN/ | http://ftp.yzu.edu.tw/CRAN/ | 5.478 |
to extract mirror list from https://cran.r-project.org/mirrors.html:
> get_mirror()
[1] "https://cloud.r"
[2] "http://cloud.r"
[3] "https://cran.usthb.dz/"
[4] "http://cran.usthb.dz/"
[5] "http://mirror.fcaglp.unlp.edu.ar/CRAN/"
[6] "https://cran.csiro.au/"
[7] "http://cran.csiro.au/"
[8] "https://mirror.aarnet.edu.au/pub/CRAN/"
[9] "https://cran.ms.unimelb.edu.au/"
[10] "https://cran.curtin.edu.au/"
[11] "https://cran.wu.ac.at/"
[12] "http://cran.wu.ac.at/"
[13] "http://www.freestatistics.org/cran/"
[14] "https://lib.ugent.be/CRAN/"
[15] "http://lib.ugent.be/CRAN/"
[16] "http://nbcgib.uesc.br/mirrors/cran/"
[17] "https://cran"
[18] "http://cran"
[19] "https://cran.fiocruz.br/"
[20] "http://cran.fiocruz.br/"
[21] "https://vps.fmvz.usp.br/CRAN/"
[22] "http://vps.fmvz.usp.br/CRAN/"
[23] "https://brieger.esalq.usp.br/CRAN/"
[24] "http://brieger.esalq.usp.br/CRAN/"
[25] "https://ftp.uni"
[26] "http://ftp.uni"
[27] "https://mirror.its.sfu.ca/mirror/CRAN/"
[28] "http://cran.stat.sfu.ca/"
[29] "https://muug.ca/mirror/cran/"
[30] "http://muug.ca/mirror/cran/"
[31] "https://mirror.its.dal.ca/cran/"
[32] "http://mirror.its.dal.ca/cran/"
[33] "http://cran.utstat.utoronto.ca/"
[34] "https://dirichlet.mat.puc.cl/"
[35] "http://dirichlet.mat.puc.cl/"
[36] "https://cran.dcc.uchile.cl/"
[37] "https://mirrors.tuna.tsinghua.edu.cn/CRAN/"
[38] "http://mirrors.tuna.tsinghua.edu.cn/CRAN/"
[39] "https://mirrors.ustc.edu.cn/CRAN/"
[40] "http://mirrors.ustc.edu.cn/CRAN/"
[41] "https://mirrors.eliteu.cn/CRAN/"
[42] "https://mirror.lzu.edu.cn/CRAN/"
[43] "http://mirror.lzu.edu.cn/CRAN/"
[44] "https://mirrors.tongji.edu.cn/CRAN/"
[45] "https://mirrors.shu.edu.cn/CRAN/"
[46] "https://www.icesi.edu.co/CRAN/"
[47] "http://www.icesi.edu.co/CRAN/"
[48] "https://mirrors.nic.cz/R/"
[49] "http://mirrors.nic.cz/R/"
[50] "https://mirrors.dotsrc.org/cran/"
[51] "http://mirrors.dotsrc.org/cran/"
[52] "https://cran.asia/"
[53] "https://mirror.cedia.org.ec/CRAN/"
[54] "http://mirror.cedia.org.ec/CRAN/"
[55] "https://mirror.epn.edu.ec/CRAN/"
[56] "http://cran.salud.gob.sv/"
[57] "https://ftp.eenet.ee/pub/cran/"
[58] "http://ftp.eenet.ee/pub/cran/"
[59] "https://pbil.univ"
[60] "https://mirror.ibcp.fr/pub/CRAN/"
[61] "http://mirror.ibcp.fr/pub/CRAN/"
[62] "https://cran.biotools.fr/"
[63] "http://cran.biotools.fr/"
[64] "https://ftp.igh.cnrs.fr/pub/CRAN/"
[65] "http://ftp.igh.cnrs.fr/pub/CRAN/"
[66] "http://cran.irsn.fr/"
[67] "https://cran.univ"
[68] "http://cran.univ"
[69] "https://ftp.fau.de/cran/"
[70] "https://ftp.gwdg.de/pub/misc/cran/"
[71] "http://ftp.gwdg.de/pub/misc/cran/"
[72] "https://cran.uni"
[73] "http://cran.uni"
[74] "https://ftp.cc.uoc.gr/mirrors/CRAN/"
[75] "http://ftp.cc.uoc.gr/mirrors/CRAN/"
[76] "http://cran.rapporter.net/"
[77] "https://cran.hafro.is/"
[78] "http://cran.hafro.is/"
[79] "https://ftp.iitm.ac.in/cran/"
[80] "http://ftp.iitm.ac.in/cran/"
[81] "https://repo.bppt.go.id/cran/"
[82] "https://cran.um.ac.ir/"
[83] "http://cran.um.ac.ir/"
[84] "https://ftp.heanet.ie/mirrors/cran.r"
[85] "http://ftp.heanet.ie/mirrors/cran.r"
[86] "http://cran.mirror.garr.it/mirrors/CRAN/"
[87] "https://cran.stat.unipd.it/"
[88] "http://cran.stat.unipd.it/"
[89] "http://dssm.unipa.it/CRAN/"
[90] "https://cran.ism.ac.jp/"
[91] "http://cran.ism.ac.jp/"
[92] "https://ftp.yz.yamagata"
[93] "https://ftp.harukasan.org/CRAN/"
[94] "https://cran.seoul.go.kr/"
[95] "http://healthstat.snu.ac.kr/CRAN/"
[96] "https://cran.biodisk.org/"
[97] "http://cran.biodisk.org/"
[98] "https://wbc.upm.edu.my/cran/"
[99] "http://wbc.upm.edu.my/cran/"
[100] "https://cran.itam.mx/"
[101] "http://cran.itam.mx/"
[102] "http://www.est.colpos.mx/R"
[103] "https://cran.stat.auckland.ac.nz/"
[104] "http://cran.stat.auckland.ac.nz/"
[105] "https://cran.uib.no/"
[106] "http://cran.uib.no/"
[107] "https://cran.stat.upd.edu.ph/"
[108] "http://cran.stat.upd.edu.ph/"
[109] "http://cran.radicaldevelop.com/"
[110] "http://cran.dcc.fc.up.pt/"
[111] "https://fourdots.com/mirror/CRAN/"
[112] "https://cran.stat.nus.edu.sg/"
[113] "http://cran.stat.nus.edu.sg/"
[114] "http://r.adu.org.za/"
[115] "http://cran.mirror.ac.za/"
[116] "https://ftp.cixug.es/CRAN/"
[117] "http://ftp.cixug.es/CRAN/"
[118] "https://cran.rediris.es/"
[119] "http://cran.rediris.es/"
[120] "https://ftp.acc.umu.se/mirror/CRAN/"
[121] "http://ftp.acc.umu.se/mirror/CRAN/"
[122] "https://stat.ethz.ch/CRAN/"
[123] "http://stat.ethz.ch/CRAN/"
[124] "https://ftp.yzu.edu.tw/CRAN/"
[125] "http://ftp.yzu.edu.tw/CRAN/"
[126] "http://cran.csie.ntu.edu.tw/"
[127] "http://mirrors.psu.ac.th/pub/cran/"
[128] "https://cran.pau.edu.tr/"
[129] "http://cran.pau.edu.tr/"
[130] "https://cran.ncc.metu.edu.tr/"
[131] "http://cran.ncc.metu.edu.tr/"
[132] "https://www.stats.bris.ac.uk/R/"
[133] "http://www.stats.bris.ac.uk/R/"
[134] "https://cran.ma.imperial.ac.uk/"
[135] "http://cran.ma.imperial.ac.uk/"
[136] "https://cran.cnr.berkeley.edu/"
[137] "http://cran.cnr.berkeley.edu/"
[138] "http://cran.stat.ucla.edu/"
[139] "https://mirror.las.iastate.edu/CRAN/"
[140] "http://mirror.las.iastate.edu/CRAN/"
[141] "https://ftp.ussg.iu.edu/CRAN/"
[142] "http://ftp.ussg.iu.edu/CRAN/"
[143] "https://rweb.crmda.ku.edu/cran/"
[144] "http://rweb.crmda.ku.edu/cran/"
[145] "https://cran.mtu.edu/"
[146] "http://cran.mtu.edu/"
[147] "http://cran.wustl.edu/"
[148] "http://archive.linux.duke.edu/cran/"
[149] "https://mirrors.sorengard.com/cran/"
[150] "https://cran.case.edu/"
[151] "http://cran.case.edu/"
[152] "https://ftp.osuosl.org/pub/cran/"
[153] "http://ftp.osuosl.org/pub/cran/"
[154] "http://lib.stat.cmu.edu/R/CRAN/"
[155] "http://cran.mirrors.hoobly.com/"
[156] "https://mirrors.nics.utk.edu/cran/"
[157] "http://mirrors.nics.utk.edu/cran/"
[158] "https://cran.revolutionanalytics.com/"
[159] "http://cran.revolutionanalytics.com/"
[160] "https://mirror.vinahost.vn/CRAN/"
[161] "http://camoruco.ing.uc.edu.ve/cran/"
>
for SMU:
CRAN
BioC
> m <- get_mirror('BioC')
> m
[1] "https://bioconductor.fmrp.usp.br/bioc/"
[2] "http://bioconductor.fmrp.usp.br/bioc/"
[3] "https://bioconductor.statistik.tu-dortmund.de/"
[4] "http://bioconductor.statistik.tu-dortmund.de/"
[5] "https://bioc.ism.ac.jp/"
[6] "http://bioc.ism.ac.jp/"
[7] "https://bioconductor.riken.jp/"
[8] "http://bioconductor.riken.jp/"
[9] "https://mirrors.ustc.edu.cn/bioc/"
[10] "http://mirrors.ustc.edu.cn/bioc/"
[11] "https://mirror.aarnet.edu.au/pub/bioconductor/"
[12] "http://mirror.aarnet.edu.au/pub/bioconductor/"
[13] "https://cran.asia/"
[14] "http://cran.asia/"
[15] "https://mirrors.tuna.tsinghua.edu.cn/bioconductor/"
[16] "http://mirrors.tuna.tsinghua.edu.cn/bioconductor/"
> bioc <- mirrorselect(m)
Timing stopped at: 0.01 0 32.05
Timing stopped at: 0 0.02 10.03
Timing stopped at: 0 0.07 34.75
Timing stopped at: 0 0.02 0.45
Timing stopped at: 0 0.05 1.5
Timing stopped at: 0 0.02 0.14
Timing stopped at: 0 0 2.52
Timing stopped at: 0 0 3.33
Warning messages:
1: In download.file(url, tempfile(), quiet = TRUE) :
InternetOpenUrl failed: '操作超时'
2: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'http://bioconductor.fmrp.usp.br/bioc/packages/release/bioc/html/ggtree.html': HTTP status was '502 Bad Gateway'
3: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'https://bioconductor.statistik.tu-dortmund.de/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
4: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'http://bioconductor.statistik.tu-dortmund.de/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
5: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'https://mirror.aarnet.edu.au/pub/bioconductor/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
6: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'http://mirror.aarnet.edu.au/pub/bioconductor/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
7: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'https://cran.asia/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
8: In download.file(url, tempfile(), quiet = TRUE) :
cannot open URL 'http://cran.asia/packages/release/bioc/html/ggtree.html': HTTP status was '404 Not Found'
> knitr::kable(bioc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment