RStudio 中的编织错误:pandoc 转换失败,错误 23。降价不支持扩展名 ascii_identifiers

Knit error in RStudio: pandoc conversion failed with error 23. Extension ascii_identifiers is not supported for markdown

尝试将文档编织成 html,RStudio 会在转换为 html 部分时挂起。我环顾四周,当其他人使用过时的 pandoc 版本时,这似乎发生在其他人身上。我将 pandoc 更新到 2.8。我收到标题中的错误。再次环顾四周,似乎 v 2.5 似乎很稳定。我安装了它,重新启动了我的电脑,但仍然出现同样的错误。

repex 是在 RStudio 中创建 RMarkdown 文件时的默认示例:文件 -> 新建文件 -> R Markdown -> html.

---
title: "repexpandocerror23"
author: "Adam Korejwa"
date: "11/22/2019"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

## R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for 
authoring HTML, PDF, and MS Word documents. For more details on using R 
Markdown see <http://rmarkdown.rstudio.com>.

When you click the **Knit** button a document will be generated that 
includes both content as well as the output of any embedded R code chunks 
within the document. You can embed an R code chunk like this:

```{r cars}
summary(cars)
```

## Including Plots

You can also embed plots, for example:

```{r pressure, echo=FALSE}
plot(pressure)
```

Note that the `echo = FALSE` parameter was added to the code chunk to 
prevent printing of the R code that generated the plot.

我有 fixed this issue two months ago. Please make sure your rmarkdown version is at least v1.16. Once again, when in doubt, consider updating your packages:

update.packages(ask = FALSE, checkBuilt = TRUE)