每当我试图以beamer演示格式编写R markdown时,它总是给我未定义的控制序列.
这是骗人的,因为直到昨天它还运行得很好,我不知道我改变了什么导致了这个错误.
code:
---
title: "untitled"
output: beamer_presentation
---
Output:
output file: a.knit.md
! Undefined control sequence.
<argument> ...{subsubsection}\addtobeamertemplate
{theorem begin}{\expandaft...
l.322 }{}
我的原始文件返回完全相同的错误消息.
我试过:
- 重新安装latex
- RStudio
- 升级R中的所有软件包
知道怎么解决吗?