https://mirrors.tuna.tsinghua.edu.cn/CRAN/
CRAN
R
install.packages('IRkernel')
process
z ) r (base) 17:30:08
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> q
>
>
Save workspace image? [y/n/c]: n
z ) r (base) 17:30:17
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages('IRkernel')
--- Please select a CRAN mirror for use in this session ---
Secure CRAN mirrors
1: 0-Cloud [https]
2: Australia (Canberra) [https]
3: Australia (Melbourne 1) [https]
4: Australia (Melbourne 2) [https]
5: Australia (Perth) [https]
6: Austria [https]
7: Belgium (Ghent) [https]
8: Brazil (BA) [https]
9: Brazil (PR) [https]
10: Brazil (RJ) [https]
11: Brazil (SP 1) [https]
12: Brazil (SP 2) [https]
13: Bulgaria [https]
14: Canada (MB) [https]
15: Chile (Santiago) [https]
16: China (Beijing 2) [https]
17: China (Hefei) [https]
18: China (Hong Kong) [https]
19: China (Guangzhou) [https]
20: China (Lanzhou) [https]
21: China (Nanjing) [https]
22: China (Shanghai 1) [https]
23: China (Shanghai 2) [https]
24: Costa Rica [https]
25: Denmark [https]
26: East Asia [https]
27: Ecuador (Cuenca) [https]
28: Ecuador (Quito) [https]
29: Estonia [https]
30: France (Lyon 1) [https]
31: France (Lyon 2) [https]
32: France (Marseille) [https]
33: France (Montpellier) [https]
34: Germany (Erlangen) [https]
35: Germany (Leipzig) [https]
36: Germany (Göttingen) [https]
37: Germany (Münster) [https]
38: Germany (Regensburg) [https]
39: Greece [https]
40: Hungary [https]
41: Iceland [https]
42: India [https]
43: Indonesia (Jakarta) [https]
44: Iran [https]
45: Italy (Milano) [https]
46: Italy (Padua) [https]
47: Japan (Tokyo) [https]
48: Korea (Gyeongsan-si) [https]
49: Korea (Seoul 1) [https]
50: Korea (Ulsan) [https]
51: Malaysia [https]
52: Mexico (Mexico City) [https]
53: Morocco [https]
54: Netherlands [https]
55: Norway [https]
56: Philippines [https]
57: Russia (Moscow) [https]
58: South Africa (Johannesburg) [https]
59: Spain (A Coruña) [https]
60: Spain (Madrid) [https]
61: Sweden (Borås) [https]
62: Sweden (Umeå) [https]
63: Switzerland [https]
64: Taiwan (Taipei) [https]
65: Turkey (Denizli) [https]
66: Turkey (Istanbul) [https]
67: Turkey (Mersin) [https]
68: UK (Bristol) [https]
69: UK (London 1) [https]
70: USA (IA) [https]
71: USA (KS) [https]
72: USA (MI) [https]
73: USA (OH) [https]
74: USA (OR) [https]
75: USA (TN) [https]
76: USA (TX 1) [https]
77: Uruguay [https]
78: (other mirrors)
Selection: 23
also installing the dependencies ‘assertthat’, ‘glue’, ‘rlang’, ‘cli’, ‘ellipsis’, ‘fansi’, ‘lifecycle’, ‘utf8’, ‘vctrs’, ‘htmltools’, ‘pillar’, ‘base64enc’, ‘repr’, ‘evaluate’, ‘IRdisplay’, ‘pbdZMQ’, ‘crayon’, ‘jsonlite’, ‘uuid’, ‘digest’
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/assertthat_0.2.1.tgz'
Content type 'application/x-gzip' length 52572 bytes (51 KB)
==================================================
downloaded 51 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/glue_1.4.2.tgz'
Content type 'application/x-gzip' length 139018 bytes (135 KB)
==================================================
downloaded 135 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/rlang_0.4.9.tgz'
Content type 'application/x-gzip' length 1230708 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/cli_2.2.0.tgz'
Content type 'application/x-gzip' length 442114 bytes (431 KB)
==================================================
downloaded 431 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/ellipsis_0.3.1.tgz'
Content type 'application/x-gzip' length 33497 bytes (32 KB)
==================================================
downloaded 32 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/fansi_0.4.1.tgz'
Content type 'application/x-gzip' length 210700 bytes (205 KB)
==================================================
downloaded 205 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/lifecycle_0.2.0.tgz'
Content type 'application/x-gzip' length 91596 bytes (89 KB)
==================================================
downloaded 89 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/utf8_1.1.4.tgz'
Content type 'application/x-gzip' length 195526 bytes (190 KB)
==================================================
downloaded 190 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/vctrs_0.3.6.tgz'
Content type 'application/x-gzip' length 1403267 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/htmltools_0.5.0.tgz'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/htmltools_0.5.0.tgz'
In addition: Warning messages:
1: In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
Reason: image not found
2: In download.file(url, destfile, method, mode = "wb", ...) :
URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/htmltools_0.5.0.tgz': status was 'Couldn't connect to server'
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘htmltools’ failed
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/pillar_1.4.7.tgz'
Content type 'application/x-gzip' length 176337 bytes (172 KB)
==================================================
downloaded 172 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/base64enc_0.1-3.tgz'
Content type 'application/x-gzip' length 31695 bytes (30 KB)
==================================================
downloaded 30 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/repr_1.1.0.tgz'
Content type 'application/x-gzip' length 121492 bytes (118 KB)
==================================================
downloaded 118 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/evaluate_0.14.tgz'
Content type 'application/x-gzip' length 74355 bytes (72 KB)
==================================================
downloaded 72 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/IRdisplay_0.7.0.tgz'
Content type 'application/x-gzip' length 29446 bytes (28 KB)
==================================================
downloaded 28 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/pbdZMQ_0.3-4.tgz'
Content type 'application/x-gzip' length 795253 bytes (776 KB)
==================================================
downloaded 776 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/crayon_1.3.4.tgz'
Content type 'application/x-gzip' length 748897 bytes (731 KB)
==================================================
downloaded 731 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/jsonlite_1.7.2.tgz'
Content type 'application/x-gzip' length 492071 bytes (480 KB)
==================================================
downloaded 480 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/uuid_0.1-4.tgz'
Content type 'application/x-gzip' length 27811 bytes (27 KB)
==================================================
downloaded 27 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/digest_0.6.27.tgz'
Content type 'application/x-gzip' length 300368 bytes (293 KB)
==================================================
downloaded 293 KB
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/macosx/contrib/4.0/IRkernel_1.1.1.tgz'
Content type 'application/x-gzip' length 221094 bytes (215 KB)
==================================================
downloaded 215 KB
The downloaded binary packages are in
/var/folders/j3/lwmmdyq52ml3njc3ky4jfgwh0000gn/T//RtmpWH0UVc/downloaded_packages
>
https://github.com/IRkernel/IRkernel
install.packages('IRkernel')
IRkernel::installspec() # to register the kernel in the current R installation