美文网首页
在jupyter notebook中使用python和R语言

在jupyter notebook中使用python和R语言

作者: 浩瀚之宇 | 来源:发表于2019-11-28 15:15 被阅读0次

在R中输入:

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

安装完后,在输入如下代码中的一个:

# 只在当前用户下安装
IRkernel::installspec()
# 或者是在系统下安装
IRkernel::installspec(user = FALSE)

即可使用。

相关文章

网友评论

      本文标题:在jupyter notebook中使用python和R语言

      本文链接:https://www.haomeiwen.com/subject/jvsbwctx.html