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

David Winsemius dwinsemius at comcast.net
Sat Sep 4 23:49:35 CEST 2010


Were you curious enough after reading that posting to enter the  
following at the command line?

quartzFonts()

-- 
David

On Sep 4, 2010, at 5:27 PM, Adrian wrote:

> 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

David Winsemius, MD
West Hartford, CT



More information about the R-SIG-Mac mailing list