[R-SIG-Mac] problems with X11 in R 2.11.0

Berend Hasselman bhh at xs4all.nl
Mon May 3 20:43:04 CEST 2010


If it's not part of the standard Mac OS X system, it comes in Apple Developer Tools.
You'll have to register in the Apple Developer program and download Xcode.
And I'm not sure if you can use the latest Xcode 3.2.2 on Snow Leopard.

It's probably a good idea to wait for a reaction from Simon who is the expert in these matters.

Which version of Mac OS X and X11 do you have? Neither of you have provided that information.

Berend

On 03-05-2010, at 20:27, steven mosher wrote:

> hmm. where did u get otool?
> 
> On Mon, May 3, 2010 at 11:00 AM, Berend Hasselman <bhh at xs4all.nl> wrote:
> 
> 
> I just now also did (Mac OS X 10.6.3)
> 
>  otool -L /usr/X11/lib/libpng12.0.dylib
> 
> with result:
> 
> /usr/X11/lib/libpng12.0.dylib:
>        /usr/X11/lib/libpng12.0.dylib (compatibility version 42.0.0, current version 42.0.0)
>        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
> 
> so things seem to be ok.
> Something is indeed wrong with your X or something else.
> 
> Berend
> 
> On 03-05-2010, at 19:23, Berend Hasselman wrote:
> 
> >
> > I am running Mac OS X 10.6.3 and R 2.10.1 patched.
> >
> >> sessionInfo()
> > R version 2.10.1 Patched (2010-04-07 r51689)
> > x86_64-apple-darwin9.8.0
> >
> > Result of  otool -L /Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so
> > on my machine is:
> > ...
> >       /usr/X11/lib/libpng12.0.dylib (compatibility version 36.0.0, current version 36.0.0)
> >
> > which I assume will mean that running R2.11.0 will give error messages similar to those of the OP.
> > I have Apple's Xquartz 2.3.5 (xorg-server 1.4.2-apple53)(the latest from Apple for Snow Leopard, I think)
> > And I have not fiddled with X at all.
> >
> > Berend
> >
> > On 03-05-2010, at 07:19, Prof Brian Ripley wrote:
> >
> >> Something is wrong with your system software.  On my Leopard box:
> >>
> >> tystie% otool -L /Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so
> >> ...
> >>      /usr/X11/lib/libpng12.0.dylib (compatibility version 42.0.0, current version 42.0.0)
> >>
> >> So your /usr/X11/lib/libpng12.0.dylib is different from mine (and from the CRAN build machine's).
> >>
> >> Your choices are
> >>
> >> - to resolve this (and it is not an R issue). I'd start by running the software updater ....
> >>
> >> - to build R from the sources against the software on your machine.
> >>
> >> On Sun, 2 May 2010, steven mosher wrote:
> >>
> >>> I had the same Issue with 2.10.1. never got it resolved. I was hoping that
> >>> 2.11 would fix it...alas
> >>>
> >>> On Thu, Apr 29, 2010 at 2:59 PM, Seth Schommer <scschommer at gmail.com> wrote:
> >>>
> >>>> I installed R 2.11.0 today and immediately came across an issue I did
> >>>> not experience using version 2.10.1.  For some reason, I can not use
> >>>> X11 in R.  Here's a simple example:
> >>>>
> >>>>
> >>>>> X11()
> >>>> Error in X11() : X11 module cannot be loaded
> >>>> In addition: Warning message:
> >>>> In X11() :
> >>>> unable to load shared library
> >>>> '/Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so':
> >>>> dlopen(/Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so,
> >>>> 6): Library not loaded: /usr/X11/lib/libpng12.0.dylib
> >>>> Referenced from:
> >>>> /Library/Frameworks/R.framework/Resources/modules/i386/R_X11.so
> >>>> Reason: Incompatible library version: R_X11.so requires version
> >>>> 42.0.0 or later, but libpng12.0.dylib provides version 36.0.0
> >>>>> sessionInfo()
> >>>> R version 2.11.0 (2010-04-22)
> >>>> i386-apple-darwin9.8.0
> >>>>
> >>>> locale:
> >>>> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
> >>>>
> >>>> attached base packages:
> >>>> [1] stats     graphics  grDevices utils     datasets  methods   base
> >>>>
> >>>>
> >>>> I'm running Mac OS X 10.5.8.  This error occurs when running R.app and
> >>>> while running R from the terminal.  After experience this I
> >>>> reinstalled 2.10.1 and tried the same command and had no problems.
> >>>> Just to make sure, I installed 2.11.0 again, and sure enough, I got
> >>>> the same error.  Is this a bug, or have I done something wrong?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Seth
> >>>>
> >>>> _______________________________________________
> >>>> R-SIG-Mac mailing list
> >>>> R-SIG-Mac at stat.math.ethz.ch
> >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >>>>
> >>>
> >>>     [[alternative HTML version deleted]]
> >>>
> >>> _______________________________________________
> >>> R-SIG-Mac mailing list
> >>> R-SIG-Mac at stat.math.ethz.ch
> >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >>>
> >>
> >> --
> >> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> >> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> >> University of Oxford,             Tel:  +44 1865 272861 (self)
> >> 1 South Parks Road,                     +44 1865 272866 (PA)
> >> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >>
> >> _______________________________________________
> >> R-SIG-Mac mailing list
> >> R-SIG-Mac at stat.math.ethz.ch
> >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list