R解决导出PDF时的字体问题 安装包 conda activate clusterprofiler conda install -c conda-forge r-sysfonts -y conda install -c conda-forge r-showtext -y 绘图1234567sysfonts::font_add("Arial Narrow", "~/font/Arial Narrow.ttf") # 添加字体sysfonts::font_families() # 检查是否添加成功{pdf(file = 'B_bnCov.plot.pdf', width = 12, height = 12) showtext::showtext_begin() print(bnCov$plot) showtext::showtext_end()dev.off()} 绘图 R解决导出PDF时的字体问题 https://occdn.limour.top/2331.html Author Limour Posted on September 13, 2022 Licensed under 华为云对象存储使用记录 Previous 蛋白质组RPPA抗体与基因信息映射 Next Please enable JavaScript to view the comments