我正试图从git峎uhub“https://irkernel.github.io/installation/”上的devtools库安装irkernelforjupyter笔记本,但在安装时遇到错误。以下是我正在尝试的和我得到的错误:
devtools::install_github('IRkernel/IRkernel')
错误:
'C:\Program' is not recognized as an internal or external command, operable program or batch file. Installation failed: Command failed (1)
我无法从devtools安装IRkernel,它返回上述错误。R版有什么问题吗?谁能帮忙吗?在
简而言之,在Windows系统上发生这种情况的原因是,您有“C:\Program Files”,而R不能很好地处理中间的空白:
可以通过发出以下命令进行验证:
解决方案:
尝试卸载并重新安装R,这次是在一个全新的目录树中(不是在\Program Files下)。在
我知道这不是用户的错,这里有一个ongoing issue thread on the package,但我上面建议的是您需要的快速修复。在
如果你用的是水蟒,你可以试试这个。打开anaconda命令提示符并输入
资料来源: https://anaconda.org/r/r-irkernel
相关问题 更多 >
编程相关推荐