ipython R:无法加载X11模块

时间:2013-11-13 17:26:36

标签: r ipython rpy2 conda

最初我有一个与rpy2相关的问题但是在解决之后我现在在ipython单元格中使用R时出现以下错误:

    %%R
    plot(7)
    Error in dev.off() : cannot shut down device 1 (the null device)
    In addition: Warning message:
    In png("/tmp/tmplXba8T/Rplots%03d.png", ) : failed to load cairo DLL
    Error in (function (display = "", width, height, pointsize, gamma, bg,  : 
      X11 module cannot be loaded
    In addition: Warning messages:
    1: In png("/tmp/tmp_avqKe/Rplots%03d.png", ) : failed to load cairo DLL
    2: In (function (display = "", width, height, pointsize, gamma, bg,  :
      unable to load shared object '/../R/3.0.2/precise-x86_64/lib/R/modules//R_X11.so':
      /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0: undefined symbol: cairo_ft_font_options_substitute
    Error in (function (display = "",width, height, pointsize, gamma, bg,  : 
  X11 module cannot be loaded

我正在使用conda我认为使用conda应该比通过virtualenv设置好,但看起来这真的很痛苦。

0 个答案:

没有答案