r情节字体问题
试图在r 4.2.0中绘制直方图,字体未正确显示 //i.sstatic.net/bn4mz.png“ alt =“在此处输入图像说明”>
在线搜索找不到任何有用的东西。有提示,缺少什么?
> sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: Ubuntu 20.04.3 LTS
Matrix products: default
BLAS/LAPACK: /miniconda3/envs/plotter/lib/libopenblasp-r0.3.20.so
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.2.0
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想加载非标准字体,则可以在 font_add_google()函数font_add_google.html“ rel =“ nofollow noreferrer”> sysfonts软件包
If you're trying to load a non-standard font, you might check out the
font_add_google()
function in the sysfonts package使用conda安装r态度解决了问题。如果其他人可能遇到同样的问题,只是将此帖子保留在答案中。
Installing R-essentials using conda solved the problem. Just keeping this post with answer in case someone else might have the same problem.