conda R env 没有出现在 jupyter 笔记本中

问题描述

我可以使用此链接中的建议在 jupyter notebook 中添加一个新的 conda python env。

Conda environments not showing up in Jupyter Notebook

python -m ipykernel install --user --name test_env --display-name "Python (test_env)"

我有 conda R 环境 (r_env) 并尝试执行以下操作:-

python -m ipykernel install --user --name r_env --display-name "r_env"

然而,正如预期的那样,这会在 jupyter 中创建一个 python 内核而不是 R。

对于环境而言,这样做的正确方法是什么?

解决方法

下面的这个链接解决了我的问题。 https://izoda.github.io/site/anaconda/r-jupyter-notebook/