【发布时间】:2020-03-27 18:18:22
【问题描述】:
我正在写r-markdown 文件,我将knit 写入html:
title: "Analytics"
author: "John Johnson"
date: "`r format(Sys.Date(), '%d %B %Y')`"
output:
html_notebook:
toc: yes
html_document:
toc: yes
editor_options:
chunk_output_type: inline
我在那里使用了一些 UTF-8 编码。我在数据框中有一些俄语的列名,我对其应用了摘要,并希望它在我 knit 之后出现在 html 文件中。但是在我推送knit 之后,它正在被解码并变成这样的混乱:
<U+041B><U+043E><U+043A><U+0430><U+0446><U+0438><U+044F>
我该如何解决?感谢您的回复。
【问题讨论】:
标签: r-markdown html r encoding r-markdown markdown