4

Whenever I try to use symbols in a plotmath expression in R, I get white squares. For example, when I run demo(plotmath), I get the following.

Does anyone have an idea where the problem may lie? I am using R 3.4.1 in Rstudio on Mac OS X 10.11.6.

enter image description here


Update:

As mentioned in the comments, it seems to be an issue with my fonts. When I look at Symbol, I have two "Symbol Regular"s, and the second one appears as question marks when viewing both together. However, when I click on the second one individually, the fonts appear normally. I tried to validate fonts and remove duplicates, but Font Book did not detect any problems. What should I do?

enter image description here

enter image description here

angryavian
  • 334
  • 3
  • 9
  • If you go to `Fontbook.app` and examine the Symbol font, is it perhaps duplicated or can you see any other evidence of corruption? – IRTFM Jan 12 '18 at 22:48
  • @42- Thanks very much, it does seem to be an issue with the Symbol font. I listed what I see above; do you know what I should do with the font to fix it? – angryavian Jan 12 '18 at 23:04
  • Delete it. It will get replaced from some magic Apple storeroom buried deep in the bowels of the System. – IRTFM Jan 12 '18 at 23:11
  • @42- Thanks very much, everything works now! If you wish to post your comments as an answer I would be happy to accept it. – angryavian Jan 12 '18 at 23:13

1 Answers1

3

If you go to Fontbook.app and examine the Symbol font, is it perhaps duplicated or can you see any other evidence of corruption? – 42- 25 mins ago

@42- Thanks very much, it does seem to be an issue with the Symbol font. I listed what I see above; do you know what I should do with the font to fix it? – angryavian 9 mins ago

Delete it. It will get replaced from some magic Apple storeroom buried deep in the bowels of the System.

I don't know how this happens, but it used to happen to me fairly often. Doesn't seem to be happening lately. I remain puzzled. I'm guessing there may be answers at Ask Different (but I didn't find an answer.) Whatever the mechanism it's been around for a long, long time:

http://hints.macworld.com/article.php?story=20031025010930633

IRTFM
  • 258,963
  • 21
  • 364
  • 487