在R上绘图时,得到以下信息:
这是怎么回事?如何获得绘图标签以正确显示?无论是通过jupyter笔记本还是通过R脚本将绘图写入文件,都会发生这种情况。
我在Ubuntu 18.04机器上。这是我的R.Version()输出:
$platform
'x86_64-conda_cos6-linux-gnu'
$arch
'x86_64'
$os
'linux-gnu'
$system
'x86_64, linux-gnu'
$status
''
$major
'3'
$minor
'6.1'
$year
'2019'
$month
'07'
$day
'05'
$`svn rev`
'76782'
$language
'R'
$version.string
'R version 3.6.1 (2019-07-05)'
$nickname
'Action of the Toes'
这是我的sessionInfo()输出:
R version 3.6.1 (2019-07-05)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS
Matrix products: default
BLAS/LAPACK: /home/ubuntu/miniconda3/lib/R/lib/libRblas.so
locale:
[1] C.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.1 IRdisplay_0.7.0 pbdZMQ_0.3-3 tools_3.6.1
[5] htmltools_0.4.0 pillar_1.4.3 base64enc_0.1-3 crayon_1.3.4
[9] Rcpp_1.0.3 uuid_0.1-2 IRkernel_1.1 jsonlite_1.6.1
[13] digest_0.6.24 repr_1.1.0 rlang_0.4.4 evaluate_0.14