一、window环境下
首先,打开R 运行(是R ,非Rstudio):
install.packages('IRkernel')
其次,将R核为当前用户安装:
IRkernel::installspec()
最后,将R核应用到系统范围内:
IRkernel::installspec(user = FALSE)
利用以下命令检查安装结果:
jupyter kernelspec list

这里已经安装成功了!
二、Linux环境下
首先,如果有已经安装了R,在R里运行以下命令,需要安装Python feather-format module,
conda install -c conda-forge feather-format
install.packages('devtools')
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()
install.packages('feather')
如果没有安装R,在命令行运行:
conda install -c r r-essentials r-feather
conda install -c conda-forge feather-format
install.packages('devtools')
devtools::install_github('IRkernel/IRkernel')
IRkernel::installspec()
install.packages('feather')
本文详细介绍了如何在Windows和Linux环境下于Jupyter上安装R内核,包括使用IRkernel包进行安装的具体步骤,以及如何检查安装是否成功。
&spm=1001.2101.3001.5002&articleId=85856471&d=1&t=3&u=d66e1137b46742c18775c13813792069)
10万+

被折叠的 条评论
为什么被折叠?



