Hi Simon,

Thanks for your quick response.

I checked all upgrades from Apple. Nothing comes up. Here is my X11 version 
info.

TransformProcessType: Success
X11.app starting:
X.org Release 7.2
X.Org Xquartz X Server 1.3.0-apple5
Build Date: 20080305

Mandy

On 12/20/10 4:39 PM, "Simon Urbanek" <[email protected]> wrote:



On Dec 20, 2010, at 3:20 PM, Li, Man wrote:

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

Apparently your X11 is out of date - try installing all security upgrades from 
Apple (see Software Update).

That said, on Mac you are usually better off using Quartz - e.g. quartz(.., 
type="jpeg") instead of jpeg(), png() etc..

Cheers,
Simon



> 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]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to