在某些时候,需要在 R 画图中添加中文,但是默认情况下,R 对中文的支持不好。这里推荐一个showtext的 R 包。...3), ylim = c(-3, 3), type = "n")
## Then turn showtext on and draw some characters
showtext_begin()...text(runif(100, -3, 3), runif(100, -3, 3),
intToUtf8(round(runif(100, 20200, 30000)), multiple...under: CentOS Linux 7 (Core)
Matrix products: default
BLAS/LAPACK: /usr/local/software/miniconda3/lib.../libopenblasp-r0.3.7.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-