R ipython内核已死亡,无法重新启动,我该怎么办?

R ipython内核已死亡,无法重新启动,我该怎么办?,r,jupyter,jupyter-irkernel,R,Jupyter,Jupyter Irkernel,当我试图通过jupyter notebook shell打开r文件时,内核无法启动,它显示: The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but ru

当我试图通过jupyter notebook shell打开r文件时,内核无法启动,它显示:

The kernel has died, and the automatic restart has failed. 
It is possible the kernel cannot be restarted. 
If you are not able to restart the kernel, you will still be able to save the notebook,
 but running code will no longer work until the notebook is reopened.
当终端显示:

*** caught segfault ***
address 0x18, cause 'memory not mapped'

Traceback:
 1: dyn.load(file, DLLpath = DLLpath, ...)
 2: library.dynam(lib, package, package.lib)
 3: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
 4: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()),     versionCheck = vI[[i]]), from = package)
 5: loadNamespace(name)
 6: doTryCatch(return(expr), name, parentenv, handler)
 7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
 8: tryCatchList(expr, classes, parentenv, handlers)
 9: tryCatch(loadNamespace(name), error = function(e) stop(e))
10: getNamespace(ns)
11: asNamespace(ns)
12: getExportedValue(pkg, name)
13: IRkernel::main
aborting ...
我在MAC OS上使用anaconda3,并使用conda-install-crEssentials来安装r软件包。 在多次尝试重新安装ipython之后,它仍然无法工作! 提前感谢您的关注和帮助。

启动R,然后键入


install.packages(“rzmq”,dependencies=TRUE,repos=”)

你在谷歌上搜索过这个错误吗?出现了很多结果,都与Python配置有关。发现了一些类似的问题,但不相同,也没有通用的解决方案。所有的点击都引用了这个“笔记本”。似乎你应该从那里开始。遇到了一个类似的问题,这是由于zmq的安装路径。您可以尝试使用conda install rzmq重新安装rzmq吗