美文网首页
2020-05-31 如何在jupyter notebook运行

2020-05-31 如何在jupyter notebook运行

作者: 小孟在充电 | 来源:发表于2020-05-31 02:03 被阅读0次

    在R或者R studio中运行以下代码

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

    接着运行下列代码中的其中一个

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

    相关文章

      网友评论

          本文标题:2020-05-31 如何在jupyter notebook运行

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