Ipython笔记本崩溃使用rmagic扩展 [英] Ipython notebook crash using rmagic extension
问题描述
我正在尝试运行 rmagic函数扩展示例,但是ipython崩溃,控制台错误消息'\ u在字符串开头c:\ u中没有十六进制数字。我怀疑这是由rmagic传递c:\ path而不是c:\或c:/。引起的R错误消息。
I am trying to run the rmagic functions extension example, but ipython crashes with console error message '\u used without hex digits in character string starting "c:\u". I suspect that this is an R error message caused by rmagic passing c:\path instead of c:\ or c:/.
可能有一种简单的方法修复此问题(IPython或Notebook启动参数?),但是,作为rmagic和rpy2的新手,我需要一些专家帮助。
There is probably an easy way to fix this (IPython or Notebook startup parameters?) , but, as a newbie to rmagic and rpy2, I need some expert help please.
以下简单的代码片段来自示例导致内核死亡:
The following simple snippet from the example causes the kernel to die:
import rpy2
%load_ext rmagic
%R x=1
我是Windows用户......
I am a windows user...
推荐答案
找到这个ipython / windows问题的解决方案这里
Found a solution to this ipython/windows problem here
这篇关于Ipython笔记本崩溃使用rmagic扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!