簡體   English   中英

RStudio 中的編織錯誤:pandoc 轉換失敗,錯誤 23。markdown 不支持擴展 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 is the default example when you create an RMarkdown file in RStudio: file -> New file -> 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.

兩個月前我已經解決了這個問題 請確保您的rmarkdown版本至少為 v1.16。 再一次,當有疑問時,考慮更新你的包

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM