Skip to content

Mac OS X R.app has trouble rendering certain fonts.

13 messages · Gruber, Susan, Carlo Tambuatco, David Winsemius +3 more

#
I  recently experienced  the same problem.  Text  that was missing from
plots in the Quartz window appeared on plots that were sent directly to a 
pdf file. Interestingly,  text that was printed using the expression
function did appear in the quartz window, for example,
ylab=expression(hat(psi))

As Marc wrote, the problem was resolved when I used Fontbook to resolve
duplicated fonts, which for me were Arial and Helvetica stored at both the
System and User level.   Hopefully this will work for you as well.

--Susan

Susan Gruber
UC Berkeley
any
graphics? Right now, it uses quartz as its default device for rendering to
add to my R config file to have the default device be X11?
don't seem to render on the demos.
that don't render properly, and the persp demo displays a 3D model of a
mountain with labels on the graph rendered in a certain font. (None of the
data labels render at all.)
before. I'm fairly new to using the R gui and R in general, so I don't
really know where to check if I have the proper true type fonts
available on my computer or if it is a problem within R itself. This
doesn't appear to be a problem with the functioning of R itself, just an
inability for it to render certain fonts on graphical displays. I just
want to fix it now before I use it in a major project that
requires the rendering of fonts onto the screen for presentations
etc...
recently:
get themselves filed.
#
I like to do all my upgrades at once and then leave well enough alone for a while.

My hard drive died so I had them put 10.6.4 on my iMac when they resurrected it.

After some finagling my guys were able to get rattle to run with GTK 2.18.5 under R64 2.11.

I was able to get lattistist to run under rattle but not rggobi--though regular GGobi runs.

My guys want me to go back to 32 bit R2.10 but I am inclined to think that this will sort itself out in the next few months.

Does anyone have any insights on how long it takes to make everything play together nicely?


Eric Ditwiler
Director, Academic Operations
Harvey Mudd College
909-607-3134
#
On Fri, Jul 2, 2010 at 4:10 PM, <sgruber at berkeley.edu> wrote:
I did have some duplicated fonts in my font book. So I resolved the
duplicates but it did not take care of the problem. There are still no
letters or numbers being rendered in quartz. Only in X11. I looked up
the quartzFont() function, to see if it might help, but so far
nothing. Quartz is the graphics engine that renders PDF, so if it
renders in PDF it should render in Quartz and vice versa. But that is
not the case apparently.

I hope that somebody has any additional input as to why this happens.
#
As far I can remember you have never offered either sessionInfor(),  
nor a sample problem in R code, nor an explicit description of what is  
being produced, nor a pdf file that can be examined. I have run  
demo(plotmath) and it appears not to exercise fonts ot any exceptional  
degree .... no theta's, tau's or gamma's. Do you care to exapnd on  
your difficulties?
#
Hi Eric,

Unfortunately it's unlikely that we're going to have a 64-bit version
of ggobi ready in the near future.  We run it by open R in 32-bit
mode: R --arch=i386.

Hadley
On Fri, Jul 2, 2010 at 4:21 PM, Eric Ditwiler <eric_ditwiler at hmc.edu> wrote:

  
    
#
On Jul 3, 2010, at 1:49 AM, Carlo Tambuatco wrote:

            
Yes, I did miss the lower right corner of the second page (out of  
five) where the Greek letters were demonstrated but certainly did  
notice the set relations and arrows section. What I was asking for is  
an explicit expansion on the term you used ..."messed up". Your  
description of problems does not mimic those that I (and others) were  
earlier having,  were solved by removed corrupted versions of the  
Symbol font. In that instance printing to the Quartz device produced  
small empty boxes where Greek letters should have appeared and this  
happened also when pdf or tiff were used as output devices.
More specifics, especially in light of your next stated limitations.
It's not actually a newsgroup but rather a plain-text mailing list.

The default output device is set with the options function:

?device

However, when I try that, I still see a Quartz plot with:
 > options(device="X11")
 > plot(1)

What I needed to do to get X11 plotting was:

dev.off() # closing the default Quartz device

Then X11 gets the output. If this is desired for every session then  
put it in .Rprofile or some other startup mechanism ... see the  
Installation and Administration manual and

http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#The-current-and-startup-working-directories

-- 
David.
#
On 07/03/2010 09:45 AM, David Winsemius wrote:
It's also a plain text newsgroup. According to my newsgroup client.
#
On Jul 3, 2010, at 10:30 AM, Carlo Tambuatco wrote:

            
A rather non-specific effort at evidence on your part.

http://lmgtfy.com/?q=difference+between+mailing+lists+and+newsgoups
#
Eric,
On Jul 2, 2010, at 5:21 PM, Eric Ditwiler wrote:

            
What makes you think they don't? Can you be more specific, please? To my knowledge rggobi works nicely in 64-bit for years (and is trivial to install for some time, too) so your comments are rather startling ... I don't use rattle nor latticist (assuming that is the package you meant) myself but AFAICS both binaries work in 64-bit just fine and others are using it so I'm not quite sure what distinguishes you from other users that those package should not "play nicely" in your presence ...

Cheers,
Simon
#
On Jul 3, 2010, at 8:13 AM, Hadley Wickham wrote:

            
Uh, huh?

The official CRAN binary *is* 64-bit:

http://r.research.att.com/libs/ggobi-2.1.8-darwin9-bin3.tar.gz

Cheers,
Simon
#
Oh, wow.  I didn't know about that (or maybe I did know and had
forgotten) - thanks Simon!
Hadley
#
Simon:

I can see 2.1.14 at r.research.att.com but I can't see anything if I put the /lib in the path.

Do you know how many bit this version is?

I guess I need to learn how to install packages from a URL rather than just the R Package Installer GUI thing.

Thanks!

--Eric



----- Original Message -----
From: "Simon Urbanek" <simon.urbanek at r-project.org>
To: "Hadley Wickham" <hadley at rice.edu>
Cc: "Eric Ditwiler" <eric_ditwiler at hmc.edu>, r-sig-mac at stat.math.ethz.ch
Sent: Sunday, July 4, 2010 10:29:34 AM GMT -08:00 US/Canada Pacific
Subject: Re: [R-SIG-Mac] How close to the bleeding edge?
On Jul 3, 2010, at 8:13 AM, Hadley Wickham wrote:

            
Uh, huh?

The official CRAN binary *is* 64-bit:

http://r.research.att.com/libs/ggobi-2.1.8-darwin9-bin3.tar.gz

Cheers,
Simon