jupyter notebook關聯R語言

用Python比較多,習慣性用jupyter notebook敲代碼,由於最近一些統計工作R語言更好用,於是決定將jupyter notebook與R語言關聯。

1 準備工作

下載安裝 Anoconda, R語言,Rstudio,Git,都可以在官網找到並安裝。
anoconda下載地址:https://www.anaconda.com/
Git下載地址:https://git-scm.com/download/win

2 關聯

打開Rstudio,輸入一下代碼,運行結束即可。

install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec(user = FALSE)

第二部分參考:https://blog.csdn.net/ICERON/article/details/82743930

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章