我在org-mode
文件的html输出中的显示图中遇到问题。基本上,我几个月前就学会了如何使用组织模式来实现此目的,并且我有如下代码:
#+begin_src R :file plot1.png :session :results graphics
library(lattice)
xyplot(1:10 ~ 1:10)
#+end_src
代码运行正常,导出到html文件时创建并打印了文件。现在,完全相同的代码返回code block produced no output.
;该文件已创建,但未显示在最终的html文件中。我已经在#+begin_src R
之后尝试了几种组合,但没有成功。 org-mode
的最新更新是否有所更改?还是我的问题在哪里?
这是我的组织文件的初始部分
#+LANGUAGE: en
#+STYLE: <style type="text/css">#outline-container-introduction{ clear:both; }</style>
#+BABEL: :exports both
我遇到了一个类似的问题,该代码正在运行,但突然无法运行(可能是由于升级了组织模式)。这次讨论:https://www.mail-archive.com/[email protected]/msg125531.html使我发现,现在您必须在“:results”选项中列出“ file”。