Dear list,

I just installed R-2.12.1 this afternoon on my mac (OS X 10.5.8). When I was trying to open jpeg() in R, I got this error message below.

> jpeg()
Error in jpeg() : X11 module cannot be loaded
In addition: Warning message:
In jpeg() :
  unable to load shared object '/Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so':
  dlopen(/Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so, 6): Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Resources/modules/x86_64/R_X11.so
  Reason: Incompatible library version: R_X11.so requires version 5.0.0 or later, but libfontconfig.1.dylib provides version 3.0.0

There is no problem with png() and pdf().

Please advise!

Thanks a lot.

----------------------------
Man Li
Research Analyst
Dept of Epidemiology
Johns Hopkins Bloomberg School of Public Health

	[[alternative HTML version deleted]]

