[R-SIG-Mac] Text will not appear on any graph
sgruber at berkeley.edu
Sun Sep 5 00:45:15 CEST 2010
I don't have a solution, but you may get another clue to where the problem
lies if you send the plot directly to a file, and see whether the text
shows up there.
# your plot commands here
Then look at Rplots.pdf in your working directory.
> Thank you for the suggestions thus far. In response:
> No plotting command includes text, even if it is explicitly specified with
> the "xlab", "ylab", or "main" commands. For example:
> plot(1:10, xlab="foo", main="bar")
> produces a graph with no text on either axis, no numerical labels, and no
> As for David's suggestion, this looks similar to a post that I found
> online: http://permalink.gmane.org/gmane.comp.lang.r.mac/5489. I looked
> through my font book and did not find any duplicate fonts. Just to be
> I selected all of the fonts and did a "resolve duplicates" operation under
> the Font Book edit menu. Still no text on any graphs though.
> Thanks again,
> 2010/9/4 David Winsemius <dwinsemius at comcast.net>
>> On Sep 4, 2010, at 12:56 PM, Adrian wrote:
>>> I am having trouble displaying graphs in R. Whenever I create graphs,
>>> axes labels, numerical scales, or titles are displayed. If I use the
>>> "text()" function to explicitly add text to the graph, no text is
>>> I can see all of the graphs using the "demo(graphics)" command, but
>>> the graphs include any text. I am running R version: R 2.11.1 GUI 1.34
>>> Leopard build 32-bit (5589) on Mac OS 10.6.4. I would be happy to
>>> any further information that could be useful in diagnosing this
>>> Any advice is appreciated.
>> Your font library has probably become corrupted. Use Font Book.app to
>> at Times, Courier, Helvetica and Symbol and remove any duplicate entries
>> that are blank.
>> David Winsemius, MD
>> West Hartford, CT
> [[alternative HTML version deleted]]
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
More information about the R-SIG-Mac