Skip to content

Instantly share code, notes, and snippets.

@GuangchuangYu
Last active May 23, 2019 08:15
Show Gist options
  • Save GuangchuangYu/c99977be8529a725f8d9f7972a861b0e to your computer and use it in GitHub Desktop.
Save GuangchuangYu/c99977be8529a725f8d9f7972a861b0e to your computer and use it in GitHub Desktop.
mirrorselect for R
mirror speed
http://cran.stat.upd.edu.ph/ 5.212
http://healthstat.snu.ac.kr/CRAN/ 5.322
http://cran.ism.ac.jp/ 5.327
http://ftp.yzu.edu.tw/CRAN/ 5.340
http://ftp.iitm.ac.in/cran/ 5.380
https://mirrors.eliteu.cn/CRAN/ 5.398
http://cran.stat.nus.edu.sg/ 5.445
https://mirrors.tongji.edu.cn/CRAN/ 5.474
https://mirrors.shu.edu.cn/CRAN/ 5.498
http://cran.biodisk.org/ 5.513
http://cran.csie.ntu.edu.tw/ 5.546
http://www.freestatistics.org/cran/ 5.564
http://cran.case.edu/ 5.572
http://wbc.upm.edu.my/cran/ 5.592
http://cran.revolutionanalytics.com/ 5.606
http://muug.ca/mirror/cran/ 5.629
http://ftp.heanet.ie/mirrors/cran.r 5.653
https://ftp.yzu.edu.tw/CRAN/ 5.661
http://cran.stat.sfu.ca/ 5.671
https://cran.ism.ac.jp/ 5.683
http://cran.csiro.au/ 5.699
http://ftp.osuosl.org/pub/cran/ 5.731
http://lib.ugent.be/CRAN/ 5.737
http://mirrors.tuna.tsinghua.edu.cn/CRAN/ 5.746
http://mirrors.ustc.edu.cn/CRAN/ 5.761
http://mirror.lzu.edu.cn/CRAN/ 5.761
http://cran.um.ac.ir/ 5.771
http://rweb.crmda.ku.edu/cran/ 5.784
http://mirror.las.iastate.edu/CRAN/ 5.798
http://mirror.ibcp.fr/pub/CRAN/ 5.802
http://mirrors.nics.utk.edu/cran/ 5.811
http://mirrors.nic.cz/R/ 5.813
http://cran.pau.edu.tr/ 5.852
http://cran.itam.mx/ 5.902
http://mirror.its.dal.ca/cran/ 5.920
https://cran.revolutionanalytics.com/ 5.930
http://cran.biotools.fr/ 5.956
http://stat.ethz.ch/CRAN/ 5.984
http://www.icesi.edu.co/CRAN/ 5.990
http://www.stats.bris.ac.uk/R/ 6.008
http://cran.ma.imperial.ac.uk/ 6.015
http://cran.cnr.berkeley.edu/ 6.045
http://ftp.igh.cnrs.fr/pub/CRAN/ 6.052
http://ftp.gwdg.de/pub/misc/cran/ 6.056
http://cran.stat.auckland.ac.nz/ 6.063
http://cran.mirrors.hoobly.com/ 6.078
http://cran.wu.ac.at/ 6.079
http://cran.stat.unipd.it/ 6.082
http://mirror.cedia.org.ec/CRAN/ 6.093
http://mirrors.dotsrc.org/cran/ 6.110
http://ftp.eenet.ee/pub/cran/ 6.118
http://cran.uib.no/ 6.131
https://mirror.vinahost.vn/CRAN/ 6.137
http://ftp.acc.umu.se/mirror/CRAN/ 6.139
http://cran.hafro.is/ 6.157
http://cran.rediris.es/ 6.160
http://ftp.cixug.es/CRAN/ 6.161
http://ftp.ussg.iu.edu/CRAN/ 6.161
http://ftp.cc.uoc.gr/mirrors/CRAN/ 6.173
http://archive.linux.duke.edu/cran/ 6.175
http://dirichlet.mat.puc.cl/ 6.177
https://muug.ca/mirror/cran/ 6.180
http://vps.fmvz.usp.br/CRAN/ 6.198
http://brieger.esalq.usp.br/CRAN/ 6.204
https://cran.seoul.go.kr/ 6.216
https://wbc.upm.edu.my/cran/ 6.220
http://cran.ncc.metu.edu.tr/ 6.232
http://lib.stat.cmu.edu/R/CRAN/ 6.238
https://cran.biodisk.org/ 6.290
https://cran.stat.upd.edu.ph/ 6.317
https://mirror.lzu.edu.cn/CRAN/ 6.327
https://cran.curtin.edu.au/ 6.343
http://cran.mtu.edu/ 6.362
https://ftp.osuosl.org/pub/cran/ 6.386
https://rweb.crmda.ku.edu/cran/ 6.434
https://mirrors.sorengard.com/cran/ 6.434
https://mirror.its.dal.ca/cran/ 6.441
http://cran.irsn.fr/ 6.449
https://mirror.its.sfu.ca/mirror/CRAN/ 6.450
https://ftp.heanet.ie/mirrors/cran.r 6.495
https://cran.stat.nus.edu.sg/ 6.583
https://www.stats.bris.ac.uk/R/ 6.590
https://cran.case.edu/ 6.626
https://ftp.harukasan.org/CRAN/ 6.647
https://cran.rediris.es/ 6.746
http://cran.salud.gob.sv/ 6.773
https://ftp.cixug.es/CRAN/ 6.808
https://cran.wu.ac.at/ 6.811
https://mirror.cedia.org.ec/CRAN/ 6.818
https://mirrors.tuna.tsinghua.edu.cn/CRAN/ 6.855
https://mirrors.nics.utk.edu/cran/ 6.893
https://mirrors.nic.cz/R/ 6.927
http://cran.fiocruz.br/ 6.942
https://fourdots.com/mirror/CRAN/ 6.958
https://cran.itam.mx/ 6.961
http://nbcgib.uesc.br/mirrors/cran/ 6.964
http://cran.utstat.utoronto.ca/ 6.995
https://stat.ethz.ch/CRAN/ 7.015
https://ftp.iitm.ac.in/cran/ 7.017
https://mirror.las.iastate.edu/CRAN/ 7.064
http://cran.radicaldevelop.com/ 7.065
https://cran.cnr.berkeley.edu/ 7.189
https://www.icesi.edu.co/CRAN/ 7.214
http://cran.wustl.edu/ 7.228
https://ftp.gwdg.de/pub/misc/cran/ 7.234
http://mirrors.psu.ac.th/pub/cran/ 7.249
http://cran.rapporter.net/ 7.328
https://ftp.ussg.iu.edu/CRAN/ 7.358
http://camoruco.ing.uc.edu.ve/cran/ 7.401
https://mirrors.dotsrc.org/cran/ 7.441
https://ftp.cc.uoc.gr/mirrors/CRAN/ 7.461
http://cran.mirror.ac.za/ 7.467
https://cran.ms.unimelb.edu.au/ 7.486
https://cran.dcc.uchile.cl/ 7.532
https://cran.fiocruz.br/ 7.566
https://cran.stat.auckland.ac.nz/ 7.597
https://cran.hafro.is/ 7.661
https://brieger.esalq.usp.br/CRAN/ 7.728
https://ftp.acc.umu.se/mirror/CRAN/ 7.741
https://mirrors.ustc.edu.cn/CRAN/ 7.795
http://www.est.colpos.mx/R 7.802
http://r.adu.org.za/ 7.852
http://cran.mirror.garr.it/mirrors/CRAN/ 7.935
http://cran.dcc.fc.up.pt/ 7.995
https://ftp.fau.de/cran/ 8.011
https://lib.ugent.be/CRAN/ 8.121
https://vps.fmvz.usp.br/CRAN/ 8.131
https://cran.uib.no/ 8.146
https://cran.ma.imperial.ac.uk/ 8.163
https://ftp.eenet.ee/pub/cran/ 8.199
https://cran.um.ac.ir/ 8.208
https://cran.asia/ 8.211
https://cran.csiro.au/ 8.345
https://dirichlet.mat.puc.cl/ 8.504
https://cran.pau.edu.tr/ 8.587
https://ftp.igh.cnrs.fr/pub/CRAN/ 8.605
https://cran.ncc.metu.edu.tr/ 8.633
https://cran.stat.unipd.it/ 8.742
https://repo.bppt.go.id/cran/ 9.471
https://mirror.epn.edu.ec/CRAN/ 9.502
http://cran.stat.ucla.edu/ 9.626
https://mirror.aarnet.edu.au/pub/CRAN/ 9.653
https://cran.biotools.fr/ 9.716
http://mirror.fcaglp.unlp.edu.ar/CRAN/ 10.556
https://mirror.ibcp.fr/pub/CRAN/ 11.825
http://cran.usthb.dz/ 16.476
https://cran.usthb.dz/ 18.139
@GuangchuangYu
Copy link
Author

> 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)
mirror speed
http://bioc.ism.ac.jp/ http://bioc.ism.ac.jp/ 0.14
http://mirrors.ustc.edu.cn/bioc/ http://mirrors.ustc.edu.cn/bioc/ 0.14
https://bioc.ism.ac.jp/ https://bioc.ism.ac.jp/ 0.43
https://mirrors.ustc.edu.cn/bioc/ https://mirrors.ustc.edu.cn/bioc/ 0.71
http://mirrors.tuna.tsinghua.edu.cn/bioconductor/ http://mirrors.tuna.tsinghua.edu.cn/bioconductor/ 1.22
https://mirrors.tuna.tsinghua.edu.cn/bioconductor/ https://mirrors.tuna.tsinghua.edu.cn/bioconductor/ 1.98
https://bioconductor.riken.jp/ https://bioconductor.riken.jp/ 2.45
http://bioconductor.riken.jp/ http://bioconductor.riken.jp/ 11.83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment