组织模式未生成R图

问题描述 投票:0回答:1

我在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
r emacs org-mode
1个回答
0
投票

我遇到了一个类似的问题,该代码正在运行,但突然无法运行(可能是由于升级了组织模式)。这次讨论:https://www.mail-archive.com/[email protected]/msg125531.html使我发现,现在您必须在“:results”选项中列出“ file”。

© www.soinside.com 2019 - 2024. All rights reserved.