install.packages("showtext", repos = "https://mirrors.ustc.edu.cn/CRAN/")
#install.packages("sysfonts", repos = "https://mirrors.ustc.edu.cn/CRAN/")
library(showtext)
setEPS()
postscript("plot3.eps", width = 8.0, height = 6.0)
showtext_begin()
#plot here
showtext_end()# Start graphics device driver
dev.off()
R语言作图显示中文/baseR存eps格式
最新推荐文章于 2023-11-06 22:49:24 发布