R studio:加载包时,控制台中出现奇怪的字符

发布于 2025-01-14 06:36:06 字数 222 浏览 2 评论 0原文

就像图中所示,钩号出现了奇怪的汉字

在此处输入图像描述

我将默认文本编码更改为“UTF-8”,位于“保存”中的“代码”部分“全局选项” 设置。但这没有帮助。

Just like what is shown in the picture, the hook sign appears in strange Chinese character

enter image description here

I changed default text encoding to 'UTF-8', which is in 'saving', the 'code' section in 'global options' settings. But it does not help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱冒险 2025-01-21 06:36:06

这是一个已知问题,显然是由于 tidyverse 用于启动文本的 cli 包所致,计划修复该问题 (tidyverse 问题线程 cli 问题线程)。与此同时,Gábor Csárdi

解决方法是设置options(cli.unicode = FALSE)

This is a known issue, apparently due to the cli package that tidyverse uses for its startup text, for which a fix is planned (tidyverse issue thread; cli issue thread). In the meantime, per Gábor Csárdi,

A workaround is to set options(cli.unicode = FALSE).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文