2017-01-24 62 views
0

从源代码构建并安装R 3.3.2绘制字体变得粗糙,希腊字母被拉丁文更改(如下图所示)。什么可能导致它?R自定义构建图形字体

这是我的配置总结:

R is now configured for x86_64-pc-linux-gnu 

    Source directory:   . 
    Installation directory: /usr/local 

    C compiler:    gcc -g -O2 
    Fortran 77 compiler:  f95 -g -O2 

    C++ compiler:    g++ -g -O2 
    C++11 compiler:   g++ -std=c++11 -g -O2 
    Fortran 90/95 compiler: gfortran -g -O2 
    Obj-C compiler:  gcc -g -O2 -fobjc-exceptions 

    Interfaces supported:  X11 
    External libraries:  readline, curl 
    Additional capabilities: PNG, JPEG, TIFF, NLS, cairo, ICU 
    Options enabled:   shared R library, shared BLAS, R profiling 

    Capabilities skipped:  
    Options not enabled:  memory profiling 

    Recommended packages:  yes 

股票[R版本

enter image description here

自定义[R版本

enter image description here

回答

0

事实证明,问题是我的区域设置。将所有区域设置设置为en_US.UTF-8后,所有与字体相关的问题都消失了。

编辑

在测试了两台机器。这正是问题所在。