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.
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/
On Feb 25, 2009, at 10:27 , MerliseClyde 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> >Try re-installing R from the CRAN binary -- apparently your FC configuration was somehow blown away (strangely since it resides within R.framework). Cheers, S PS: This is a sort of question you should send to R-SIG-Mac, really ...> 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 > >