美文网首页python入门
windows下在Jupyter notebook中使用R语言

windows下在Jupyter notebook中使用R语言

作者: Christ_wqf | 来源:发表于2017-08-26 23:34 被阅读737次

1. 安装R语言

2.1 在Anaconda控制台输入“R”,进入R语言;

捕获.PNG

2.2 输入命令:

install.packages('devtools')

安装镜像选择“china‘

2.3 安装完成后,继续分别执行以下操作:

1.devtools::install_github('IRkernel/IRkernel')
2.IRkernel::installspec()
3.install.packages('ggplot2')

2.4 安装完成后,退出R:q()

3 再次输入:

jupyter notebook

进入jupyter notebook,即可在”new“标签下看到”R“。

无标题.png

接下来,就可以用R语言在jupyter notebook中开始你的表演了!

相关文章

网友评论

    本文标题:windows下在Jupyter notebook中使用R语言

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