2020-12-25

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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,590评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 86,808评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 151,151评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,779评论 1 277
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,773评论 5 367
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,656评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,022评论 3 398
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,678评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 41,038评论 1 299
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,659评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,756评论 1 330
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,411评论 4 321
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,005评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,973评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,203评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,053评论 2 350
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,495评论 2 343