[R] mac install no font found problem in quartz display

From: Zhesi He <zh107_at_york.ac.uk>
Date: Tue, 29 Jul 2008 12:14:11 +0100


Dear list,

I was attempted to install 2.7.1 in my mac only recently because of the fantastic quartz display support.
I had no problem in building from source. But after installation, I always got font warnings as following when using quartz:

Warning messages:
1: In axis(side = side, at = at, labels = labels, ...) ... :

   no font could be found for family "Arial" ....
33: In axis(side = side, at = at, labels = labels, ...) ... :

   no font could be found for family "Arial"

34: In title(...) ... : no font could be found for family "Arial"
35: In title(...) ... : no font could be found for family "Arial"
36: In title(...) ... : no font could be found for family "Arial"
37: In title(...) ... : no font could be found for family "Arial"


There is no such problem when using X11 as the display device. I was guessing it might be cairo or fontconfig library? I looked into the configure file and found warnings:

ld: warning, duplicate dylib /opt/local/lib/libiconv.2.dylib
ld: warning, duplicate dylib /opt/local/lib/libz.1.dylib
ld: warning, duplicate dylib /opt/local/lib/libfontconfig.1.dylib
ld: warning, duplicate dylib /opt/local/lib/libXrender.1.dylib
ld: warning, duplicate dylib /usr/X11/lib/libSM.6.dylib
ld: warning, duplicate dylib /usr/X11/lib/libICE.6.dylib
ld: warning, duplicate dylib /usr/X11/lib/libX11.6.dylib
ld: warning, duplicate dylib /usr/local/lib/libfreetype.6.dylib

I used macport to install cairo and pango and gtk before, and I think these libraries are duplicated in /usr/lib somehow. I don't know if R looked into the wrong directory to search for libraries or not.

Please advise!

Thanks a lot.

--
Zhesi He
Graham Group, CNAP
Department of Biology (Area 7)
University of York
PO Box 373, York YO10 5YW, UK
Phone:  +44-(0)1904-328774
Email:  zh107_at_york.ac.uk

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 29 Jul 2008 - 11:16:53 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 Tue 29 Jul 2008 - 12:32:51 GMT.

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

list of date sections of archive