【问题标题】:Rmarkdown does not understand a code for tableRmarkdown 不理解表格的代码
【发布时间】:2020-12-20 07:43:22
【问题描述】:

我想在 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 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

【问题讨论】:

  • 你能分享你的markdown脚本吗?

标签: r datatable r-markdown


【解决方案1】:
df <- data.frame(droite=c(12,123,1),
                 gauche=c(12,123,1),
                 defaut=c(12,123,1),
                 centre=c(12,123,1))

【讨论】:

  • 虽然此代码可以解决问题,including an explanation 说明如何以及为什么解决问题将真正有助于提高您的帖子质量,并可能导致更多的赞成票。请记住,您正在为将来的读者回答问题,而不仅仅是现在提问的人。请edit您的回答添加解释并说明适用的限制和假设。
猜你喜欢
  • 1970-01-01
  • 2021-02-19
  • 1970-01-01
  • 2023-02-01
  • 1970-01-01
  • 2021-01-30
  • 1970-01-01
  • 2021-05-23
  • 1970-01-01
相关资源
最近更新 更多