[R] Font problem.

Rolf Turner r.turner at auckland.ac.nz
Sun Oct 2 22:55:59 CEST 2016

Dunno exactly whom I should ask about this problem, but I thought I'd 
start with good old r-help.

I have recently acquired a new laptop, and have installed Ubuntu 16.04 
on it.  Still having some teething problems.

If I do


I get the error:

Error in title(...) :
   X11 font -*-courier-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 5 at size 15 
could not be loaded

So it would seem that I am missing a font.  Fonts have always been a 
complete mystery to me.  Can anyone suggest how I might rectify this 
deficiency in the fonts on my system?  If so, *please* be as explicit as 
you can in your instructions; I am all at sea here.


Rolf Turner

P. S.  I have also just noticed that if I do:


I get an "a" as the y-axis label, rather than the Greek letter alpha.

Likewise if I do plot(1:10,ylab=expression(Sigma)) I get a capital "S" 
rather than an upper case Greek Sigma symbol.  No error thrown, but.

Any ideas as to how to fix this problem?

For what it's worth, here is my sessionInfo():

R version 3.3.1 (2016-06-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.1 LTS

  [1] LC_CTYPE=en_NZ.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=en_NZ.UTF-8        LC_COLLATE=en_NZ.UTF-8
  [7] LC_PAPER=en_NZ.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] misc_0.0-16

loaded via a namespace (and not attached):
  [1] deldir_0.1-13       Matrix_1.2-3        mgcv_1.8-12
  [4] abind_1.4-3         spatstat_1.46-1.036 rpart_4.1-10
  [7] nlme_3.1-128        grid_3.3.1          polyclip_1.5-0
[10] lattice_0.20-33     goftest_1.0-3       tensor_1.5

R. T.

Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

More information about the R-help mailing list