Hi I am a novice user of R. I got hold of "R Graphics" by P. Murrell the other day and am trying to follow examples in the book. In chapter 3, the section on font specification gives 16 "basic" font families and face combinations available in R (Figure 3.9). However, the book also warns that even if a font specification is given, it does not mean that the font will always be available. There can be significant differences between operating systems and location .... Hmm ... I am at a total loss as to what this means. Anyhow, I tried to switch font family by call to the par() function as:
par(family="serif") Following this, when I used plot() command, I got a bucketful of warning: all to the effect that times font is not available. I am using R on Mac OSX, Ubuntu linux as well as on Windows. As far as I know, I installed the full R distribution on each of these systems. I am sure Times font is available on these systems, at least in some form. For example, many type 1 PostScript fonts are freely available on all systems. My question is, what do I have to do to make the serif (in this case, times) font family available to R. I would like to hear from others who might have done it. Or perhaps, this cannot be done? I did check that Hershey fonts are available on my system. I am so new to R that I am not yet even clear as to where the R-related stuff is on the computer. I would appreciate any suggestions and advice. Regards, Tariq [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.