我正在使用kableExtra包的脚注函数在表格上写脚注,但出现以下 LaTeX 错误:
! LaTeX Error: File `mulicol.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.126
pandoc.exe: Error producing PDF
Error: pandoc document conversion failed with error 43
Ejecución interrumpida
我正在运行的代码是:
---
output:
pdf_document:
toc: yes
toc_depth: 5
keep_tex: yes
html_document:
theme: united
toc: yes
classoption: table
header-includes:
- \usepackage{array}
- \usepackage{float}
- \usepackage{xcolor}
- \usepackage{mulicol}
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r results='asis'}
options(kableExtra.latex.load_packages = FALSE)
require(kableExtra)
cat(kable(head(cars),"latex",digits=c(1,1), longtable =TRUE,row.names=FALSE,
caption = "Descriptive analysis for the")%>%footnote(general= "Repeatability
(%CV) = ")
)
```
谁能帮我解决这个问题?
先感谢您!