Re: [Rd] Fontconfig warning with X11() on MAC OS X 10.4

From: Merlise Clyde <clyde_at_stat.duke.edu>
Date: Wed, 04 Mar 2009 10:08:43 -0500 (EST)

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


______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Wed 04 Mar 2009 - 17:17:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 Mar 2009 - 00:30:55 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive