[R] title size problem

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 18 11:20:35 CEST 2014


On 18/06/2014 08:14, carol white wrote:
> Hi,
> When I use any value greater than 2 for cex.main in title, I get
>
>
>   title("myTitle", cex.main= 5)
> Error in title("myTitle", cex.main = 5) :
>    X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 2 at size 60 could not be loaded
>
>
> How to fix it?

Install the appropriate fonts.

Given that you have ignored the request for 'at a minimum information' 
in the posting guide and not even told us what device you are using, we 
cannot help in more detail.

[Clearly this is a version of the X11() device, but there are two and 
how one of those does font selection varies between OS X and other 
Unix-alikes.  As a guess you are not using a cairographics-based device, 
and should be.  See capabilities("cairo").]

>
> Thanks
>
> Carol
>
> 	[[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at 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.
>
PLEASE do!

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list