From clyde at stat.duke.edu  Wed Mar  4 16:08:43 2009
From: clyde at stat.duke.edu (Merlise Clyde)
Date: Wed, 4 Mar 2009 10:08:43 -0500 (EST)
Subject: [Rd] Fontconfig warning with X11() on MAC OS X 10.4
In-Reply-To: <66f3bd910903040700j19091c6hb6c877cdde3e693c@mail.gmail.com>
References: <22205067.post@talk.nabble.com>
	<66f3bd910903040700j19091c6hb6c877cdde3e693c@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0903041001330.19720@okeeffe.isds.duke.edu>

Thanks --

Quartz works perfectly fine under R in an xterm, so do the graphics 
functions in the Cairo package. I usually run R from emacs under X11 on 
both my MAC and  linux box, so just use to the "default" graphics device 
opening with no problems after issuing a graphics command rather than 
having to take the extra step to open the device then issue the plot 
command.

BTW, I have no problem on another MacBook running Leopard.

best,
Merlise


On Wed, 4 Mar 2009, Roger Peng wrote:

> 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
>>
>
>
>
>

-- 
__________________________________________________
|                                                |
| Merlise Clyde,  Associate Professor            |
| Department of Statistical Science              |
| 223E  Old Chemistry, BOX 90251                 |
| Duke University                                |
| Durham, NC  27708-0251                         |
|                                                |
| Office Phone: (919) 681-8440                   |
| Fax:          (919) 684-8594                   |
| email:        clyde at stat.duke.edu              |
| web:          http://www.stat.duke.edu/~clyde  |
|________________________________________________|


[Rd] Fontconfig warning with X11() on MAC OS X 10.4
Merlise Clyde