在jupyter中安装R packages

安装环境:Anaconda3,内置jupyter notebook

问题:已经在juputer安装R Kernal,但运行R代码时,发现有一些R packages未安装上,需要在Anaconda Prompt安装

解决如下:

1、install tseries

conda install -c r r-tseries=0.10_35

2、install forecast

conda install -c r r-forecast

参考文献:

[1]why tseries package stop working on Jupyter notebook after it was running perfectly?

[2]r-forecast package in conda jupyter

你可能感兴趣的:(jupyter,anaconda,R)