From rdpeng at gmail.com  Wed Mar  4 16:00:34 2009
From: rdpeng at gmail.com (Roger Peng)
Date: Wed, 4 Mar 2009 10:00:34 -0500
Subject: [Rd] Fontconfig warning with X11() on MAC OS X 10.4
In-Reply-To: <22205067.post@talk.nabble.com>
References: <22205067.post@talk.nabble.com>
Message-ID: <66f3bd910903040700j19091c6hb6c877cdde3e693c@mail.gmail.com>

I realize this doesn't directly answer your question, but seeing as
you're on a Mac, have you tried using the quartz device?

-roger

On Wed, Feb 25, 2009 at 10:27 AM, MerliseClyde <clyde at stat.duke.edu> wrote:
>
> I posted previously about problems with X11() on my MAC using R 2.8.1 .
> After installing the securilty update for Tiger this morning, X11() now
> works from an xterm :-)
>
> However, I receive the following warnings with any plotting command using
> the default X11 settings.
> Fontconfig warning: no <cachedir> elements found. Check configuration.
> Fontconfig warning: adding
> <cachedir>/Library/Frameworks/R.framework/Resources/fontconfig/cache</cachedir>
> Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
>
> Everything works fine with the Xlib option:
>
>> X11(type="Xlib")
>> plot(1:10) ?# no problems!
>> X11(type="cairo")
>> plot(1:10)
> Fontconfig warning: no <cachedir> elements found. Check configuration.
> Fontconfig warning: adding
> <cachedir>/Library/Frameworks/R.framework/Resources/fontconfig/cache</cachedir>
> Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
>
> subsequent commands with X11/cairo plot with no errors.
>
> If I quit R, and start a new session I continue to receive the Fontconfig
> warning.
>
> Any suggestions on what is wrong with my font configuration?
> (mainly annoying :-)
>
> Thanks!
> Merlise
> Version:
> ?platform = i386-apple-darwin8.11.1
> ?arch = i386
> ?os = darwin8.11.1
> ?system = i386, darwin8.11.1
> ?status =
> ?major = 2
> ?minor = 8.1
> ?year = 2008
> ?month = 12
> ?day = 22
> ?svn rev = 47281
> ?language = R
> ?version.string = R version 2.8.1 (2008-12-22)
>
>
> --
> View this message in context: http://www.nabble.com/Fontconfig-warning-with-X11%28%29-on-MAC-OS-X-10.4-tp22205067p22205067.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
Roger D. Peng  |  http://www.biostat.jhsph.edu/~rpeng/



[Rd] Fontconfig warning with X11() on MAC OS X 10.4
Roger Peng