如何在jupyter中安装R

地址:(http://irkernel.github.io/installation/)

第一步:在R中安装必备包

install.packages(c('rzmq','repr','IRkernel','IRdisplay'),
                 repos = c('http://irkernel.github.io/', getOption('repos')))
  • 1
  • 2

第二步:连接R与jupyter
在R Console中输入(在Rstudio中无效)

IRkernel::installspec()

猜你喜欢

转载自www.cnblogs.com/lantingg/p/9244667.html