使用 conda 和 Jupyter 使用 R 内核时遇到问题

Trouble with using R Kernel using conda and Jupyter

我使用这个博客安装了 R essentials post

http://continuum.io/blog/conda-jupyter-irkernel

为“R essentials”创建一个新环境:

conda create -n my-r-env -c r r-essentials

Bash

ipython notebook

但是当我尝试使用 R 内核创建一个新笔记本时

我收到这个错误

An error occurred while creating a new notebook.
Unexpected error while saving file: Untitled5.ipynb [Errno 13] Permission denied: '/home/ajay/.ipython/profile_default/security/notebook_secret'

我如何在 Jupyter (Ipython) 中开始使用 R?为这个非常基本的问题道歉

这是我在终端中输入 id 得到的结果

ajay@Inspiron-3542:~$ id
uid=1000(ajay) gid=1000(ajay) groups=1000(ajay),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),109(lpadmin),124(sambashare)

我想你在 linux 主机上

在jupyter中启动一个终端(从主页new->terminal)

在终端类型中: 编号

如果您获得的信息与您的 ID 不匹配,您需要使用 NB_UID=您的 uuid 选项启动 jupyter

你是运行这个来自docker容器的吗?