R studio:加载包时,控制台出现奇怪的字符
R studio: When loading a package, strange characters appear in the console
如图所示,钩号出现在奇怪的汉字中
我将默认文本编码更改为 'UTF-8',它位于 'saving' 中 'global options' 设置中的 'code' 部分。但这并没有帮助。
这是一个已知问题,显然是由于 tidyverse 用于其启动文本的 cli 包,计划对其进行修复(tidyverse issue thread; cli issue thread). In the meantime, per Gábor Csárdi,
A workaround is to set options(cli.unicode = FALSE)
.
如图所示,钩号出现在奇怪的汉字中
我将默认文本编码更改为 'UTF-8',它位于 'saving' 中 'global options' 设置中的 'code' 部分。但这并没有帮助。
这是一个已知问题,显然是由于 tidyverse 用于其启动文本的 cli 包,计划对其进行修复(tidyverse issue thread; cli issue thread). In the meantime, per Gábor Csárdi,
A workaround is to set
options(cli.unicode = FALSE)
.