[R] font family in R
David Winsemius
dwinsemius at comcast.net
Fri Nov 12 07:48:26 CET 2010
On Nov 12, 2010, at 12:27 AM, sachinthaka.abeywardana at allianz.com.au
wrote:
>
> Hi All,
>
> I've been looking around (maybe not extensively) but I couldn't find
> any
> documentation on the list of fonts thats useable with R.
?device
?pdf
?pdfFonts
>
> Im trying to change the font of the title, seems like mtext is the
> only way
> so far, which can actually write on top of each other depending on the
> lines:
>
> plot(1:5,1:5);
> mtext("Title",side=3,cex=3.5,line=1);
> mtext("Sub Title",side=3,cex=2.1,line=0);
>
> Ofcourse I wont be using titles that big but would be great if R
> handled
> that on its own rather than me having to worry about maximum height of
> tables.
>
> Also are there any packages out there that is better than the base R
> graphics (mind you I do like it).
>
> Thanks,
> Sachin
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list