gpt4 book ai didi

r - RStudio 中的编织错误 : pandoc conversion failed with error 23. Markdown 不支持扩展 ascii_identifiers

转载 作者:行者123 更新时间:2023-12-02 00:25:06 24 4
gpt4 key购买 nike

尝试将文档编织成 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两个月前。请确保您的 rmarkdown 版本至少为 v1.16。再次,when in doubt, consider updating your packages :

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

关于r - RStudio 中的编织错误 : pandoc conversion failed with error 23. Markdown 不支持扩展 ascii_identifiers,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58999923/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com