[R-SIG-Mac] Text will not appear on any graph

Susan Gruber 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.


> Hello,
> 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
> title.
> 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
> sure,
> 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,
> Adrian
> 2010/9/4 David Winsemius <dwinsemius at comcast.net>
>> On Sep 4, 2010, at 12:56 PM, Adrian wrote:
>>  Hello,
>>> I am having trouble displaying graphs in R.  Whenever I create graphs,
>>> no
>>> axes labels, numerical scales, or titles are displayed.  If I use the
>>> "text()" function to explicitly add text to the graph, no text is
>>> displayed.
>>> I can see all of the graphs using the "demo(graphics)" command, but
>>> none
>>> of
>>> 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
>>> provide
>>> any further information that could be useful in diagnosing this
>>> problem.
>>> Any advice is appreciated.
>> Your font library has probably become corrupted. Use Font Book.app to
>> look
>> 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
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

More information about the R-SIG-Mac mailing list