Here is a more complete solution to my problem. The fact that the parameters are called gp_varnames, gp_labels, and gp_text on one hand, but main_gp and and sub_gp on the other hand comes as a surprise when one tries to find a solution.
windowsFonts(calibri = windowsFont("Calibri")) mosaic(UCBAdmissions, labeling_args = list( gp_labels = gpar(fontsize = 12, fontfamily = "calibri"), gp_varnames = gpar(fontsize = 16, fontfamily = "calibri")), main = "Main title", main_gp = gpar(fontfamily = "calibri"), sub = "Subtitle", sub_gp = gpar(fontfamily = "calibri"), pop=FALSE) labeling_cells(text = UCBAdmissions, clip = TRUE, gp_text = gpar(fontfamily = "calibri"))(UCBAdmissions) On 3/30/2011 8:42 PM, Henrique Dallazuanna wrote: > Try this: > > windowsFonts(calibri = windowsFont("Calibri")) > > mosaic(UCBAdmissions, labeling_args = list( > gp_labels = gpar(fontsize = 12, fontfamily = "calibri"), > gp_varnames = gpar(fontsize = 16, fontfamily = "calibri") > )) > ______________________________________________ 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.