刚刚把MAC OS 升级到10.10 (Yosemite)R作图时不能显示文字,举例如下:> a<-1:10
> a
[1] 1 2 3 4 5 6 7 8 9 10
> plot(a)
Error in axis(side = side, at = at, labels = labels, ...) :
could not find any X11 fonts
Check that the Font Path is correct.
In addition: Warning messages:
1: In (function (display = "", width, height, pointsize, gamma, bg, :
locale not supported by Xlib: some X ops will operate in C locale
2: In (function (display = "", width, height, pointsize, gamma, bg, :
X cannot set locale modifiers
>
好像是X11字体的问题,请高手指点解决!