(Sorry for the brief messages)

After plotting, Quartz is active:

> dev.cur()
null device
          1
> plot(1:10)
> dev.cur()
quartz
     2

Thank you,
Adrian

2010/9/5 Adrian <adrian.d...@duke.edu>

> Interesting... apparently I'm printing to a "null device":
>
> > dev.cur()
> null device
>           1
>
> Adrian
>
> 2010/9/5 David Winsemius <dwinsem...@comcast.net>
>
>
>> On Sep 4, 2010, at 10:42 PM, Adrian wrote:
>>
>>  Thanks again for the suggestions thus far.  In response:
>>>
>>> 1) I did enter the quartzFonts() command, and I received what I assume to
>>> be
>>> the expected output:
>>>
>>>> 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"
>>>
>>> 2) If I output my plots directly to a pdf file, the text is included just
>>> fine.  If I run identical commands to be output to the default device, no
>>> text is displayed.  This seems to indicate that it could be some kind of
>>> problem with the Quartz device?
>>>
>>
>> Assuming that the quartz device is the current device that is. What does
>> dev.cur() return?
>>
>> --
>> David
>>
>>
>>> 3) The output that I received from the par() command after plotting a
>>> graph
>>> (with no tex) is identical to that received from another user who is able
>>> to
>>> see text graphs.
>>>
>>> Ultimately, it would be good to determine and fix the root cause of this
>>> problem, as it would be convenient to be able to view graphs immediately
>>> upon generating them.  However, outputting to a PDF file gives me a good
>>> workaround for the moment.
>>>
>>> Thanks again,
>>> Adrian
>>>
>>> 2010/9/4 Susan Gruber <sgru...@berkeley.edu>
>>>
>>>  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.
>>>>
>>>> pdf()
>>>> # your plot commands here
>>>> dev.off()
>>>>
>>>>
>>>> Then look at Rplots.pdf in your working directory.
>>>>
>>>> --Susan
>>>>
>>>>  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 <dwinsem...@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@stat.math.ethz.ch
>>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>        [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac@stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>
>>
>> David Winsemius, MD
>> West Hartford, CT
>>
>>
>

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to