R MARKDOWN BEAMER演示返回未定义的控制顺序
每当我尝试以Beamer演示格式编织R Markdown时,它会一直为我提供不确定的控制序列。
这是很有用的,因为直到昨天才能正常工作,我不知道我更改了导致此错误的变化。 为了证明我的代码不是问题的根源,我只是尝试编织一个空页面。
代码:
---
title: "untitled"
output: beamer_presentation
---
输出:
output file: a.knit.md
! Undefined control sequence.
<argument> ...{subsubsection}\addtobeamertemplate
{theorem begin}{\expandaft...
l.322 }{}
我的原始文件返回相同的错误消息。
我尝试过:
- 重新安装乳胶
- 重新安装rstudio
- 升级R n
任何想法如何解决此问题?
Whenever I tried to knit R markdown in beamer presentation format, it keeps on giving me undefined control sequence.
It is fraustrating because it worked fine until yesterday and I have no idea what I changed that causes this error.
To show that my code is not the source of the problem, I simply tried to knit an empty page.
code:
---
title: "untitled"
output: beamer_presentation
---
Output:
output file: a.knit.md
! Undefined control sequence.
<argument> ...{subsubsection}\addtobeamertemplate
{theorem begin}{\expandaft...
l.322 }{}
My original file returns the exaclty same error message.
I tried:
- reinstall LaTeX
- reinstall RStudio
- upgrade all packages in R
Any idea how to fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这只是
作为临时解决方法,将这两个文件放在.RMD文件的文件夹中:
版本,否则它们可能会干扰以后的更新)
This was just fixed by @UlrikeFischer. @JosephWright is preparing a new beamer release as we speak, it should be available as beamer v3.67 on ctan tomorrow.
As a temporary workaround, place these two files in the folder of your .rmd file:
(don't forget to delete these files again once you have the new beamer version, otherwise they might interfere with future updates)