3

jupyter ノートブック シェルから 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 -cr r-essentials を使用して r パッケージをインストールします。ipython の再インストールを何度か試みても、まだ機能しません! ご清聴ありがとうございました。

4

1 に答える 1

0

Rを起動してから入力します

install.packages("rzmq", dependencies=TRUE, repos=' http://cran.rstudio.com/ ')

于 2016-06-28T02:49:24.547 に答える