Rmarkdown不理解表的代码
我想在Rmarkdown中创建一个简单的表:Rmarkdown不理解表的代码,r,datatable,r-markdown,R,Datatable,R Markdown,我想在Rmarkdown中创建一个简单的表: | Droite | Gauche | Défaut | Centré | |-------:|:-------|--------|:------:| | 12 | 12 | 12 | 12 | | 123 | 123 | 123 | 123 | | 1 | 1 | 1 | 1 | Table: an exemple 它只是在弹出以下消息时不起作用: output file: essai.knit.md ! Undefined control
| Droite | Gauche | Défaut | Centré |
|-------:|:-------|--------|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
Table: an exemple
它只是在弹出以下消息时不起作用:
output file: essai.knit.md
! Undefined control sequence.
<argument> \@@magyar@captionfix
Erreur : LaTeX failed to compile essai.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See essai.log for more info.
Exécution arrêtée
输出文件:essai.knit.md
! 未定义的控制序列。
\@@magyar@captionfix
错误:LaTeX未能编译essai.tex。看见https://yihui.org/tinytex/r/#debugging 有关调试提示。有关更多信息,请参阅essai.log。
执行协议
df你能分享你的降价脚本吗?虽然这段代码可能会解决这个问题,但如何以及为什么这会真正有助于提高你的文章质量,并可能导致更多的投票。请记住,你是在将来回答读者的问题,而不仅仅是现在提问的人。请在回答中添加解释,并说明适用的限制和假设。
df <- data.frame(droite=c(12,123,1),
gauche=c(12,123,1),
defaut=c(12,123,1),
centre=c(12,123,1))