On Feb 6, 2012, at 2:39 PM, Manu N wrote:

Hello,
I'm running R.app on Mac OS X.7.3.
I have an issue :

a = c(1,2,3)
plot(a)

produces a plot on a quartz window but without any text (labels, etc.)

This has been reported multiple times on this list. It generally means fonts used by that device have been corrupted. In this case you should look to see what quartzFonts() produces and if the missing text was the "sans" flavor:

> quartzFonts("sans")
$sans
[1] "Helvetica"             "Helvetica-Bold"        "Helvetica-Oblique"
[4] "Helvetica-BoldOblique"

Use Font Book.app to investigate. If I'm right, you will find a (possibly duplicated) blank version for Helvetica. Delete it.

--
David.

a = c(1,2,3)
pdf("/Users/myhome/Desktop/test.pdf")
plot(a)
dev.off()

produces the expected pdf file with axis labels, x values and y values.

Here's some info on my system :

sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] fr_FR.UTF-8/fr_FR.UTF-8/fr_FR.UTF-8/C/fr_FR.UTF-8/fr_FR.UTF-8

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

quartzFonts()
$serif
[1] "Times-Roman"      "Times-Bold"       "Times-Italic"
[4] "Times-BoldItalic"

$sans
[1] "Helvetica"             "Helvetica-Bold"
[3] "Helvetica-Oblique"     "Helvetica-BoldOblique"

$mono
[1] "Courier"             "Courier-Bold"        "Courier-Oblique"
[4] "Courier-BoldOblique"


Do you have any idea on what could cause this issue ?
Thanks,
Manuel

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius, MD
West Hartford, CT

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to