Win10通过jupyter notebook运行R
2020-06-10 本文已影响0人
k莫失莫忘
R版本4.0.1
1. Requirements
1) jupyter notebook (推荐anaconda)
2) R(清华镜像站)
2. Install IRKernel
在Rconsole中
1)install.packages('IRkernel')
2)IRkernel::installspec()
如果2.2报错:jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127
进入anaconda prompt,运行:
R
IRkernel::installspec()
即可