[R-SIG-Mac] x11/plot issue on Mac OSX

Davor Cubranic cubranic at stat.ubc.ca
Thu Jan 24 02:50:13 CET 2013


Yes, binary provided by CRAN's R-2.15.2.pkg comes with both quartz() and X11() devices. And make sure you run Apple's X11.app, not something provided by homebrew.


On 2013-01-23, at 5:37 PM, m p wrote:

> can't find anything specific for Apple's  X11 on CRAN. Would that be
> 
> R-2.15.2.pkg<http://streaming.stat.iastate.edu/CRAN/bin/macosx/R-2.15.2.pkg>
> (latest
> version)
> MD5-hash: 8935aaa6c90e522e7b1da487c50e0d3c
> (ca. 64MB)*R 2.15.2* binary for Mac OS X 10.5 (Leopard) and higher, signed
> package. Contains R 2.15.2 framework, R.app GUI 1.53 in 32-bit and 64-bit
> for Intel Macs. The above file is an Installer package which can be
> installed by double-clicking. Depending on your browser, you may need to
> press the control key and click on this link to download the file.
> 
> 
> Thanks,
> Mark
> On Wed, Jan 23, 2013 at 6:28 PM, Simon Urbanek
> <simon.urbanek at r-project.org>wrote:
> 
>> On Jan 23, 2013, at 8:23 PM, m p wrote:
>> 
>>> running under dbg I get what's below. Any suggestions on that?
>> 
>> It seems like you may have some broken Homebrew build of R or the
>> components. Please try the CRAN R binary with Apple's X11.
>> 
>> Cheers,
>> Simon
>> 
>>> Thanks,
>>> Mark
>>> 
>>> 
>>> 
>>> Reading symbols for shared libraries ......................warni g: Could
>>> not find object file "/private/tmp/homebrew-libffi-3.0.
>>> 1-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/.libs/prep_ci .o" - no
>>> debug information available for "../src/prep_cif.c".
>>> 
>>> warning: Could not find object file "/private/tmp/homebrew-libff
>>> -3.0.11-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/.libs/t pes.o" -
>>> no debug information available for "../src/types.c".
>>> 
>>> warning: Could not find object file "/private/tmp/homebrew-libff
>>> -3.0.11-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/.libs/r
>> w_api.o" -
>>> no debug information available for "../src/raw_api.c"
>>> 
>>> warning: Could not find object file "/private/tmp/homebrew-libff
>>> -3.0.11-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/.libs/j
>>> va_raw_api.o" - no debug information available for "../src/java_
>> aw_api.c".
>>> warning: Could not find object file "/private/tmp/homebrew-libff
>>> -3.0.11-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/.libs/c
>> osures.o"
>>> - no debug information available for "../src/closures.c".
>>> 
>>> warning: Could not find object file
>>> 
>> "/private/tmp/homebrew-libffi-3.0.11-5bwq/libffi-3.0.11/x86_64-apple-darwin11.4.2/src/x86/.libs/ffi64.o"
>>> - no debug information available for "../src/x86/ffi64.c".
>>> 
>>> .................. done
>>> 
>>> Program received signal EXC_BAD_ACCESS, Could not access memory.
>>> Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000010
>>> 0x00000001052553a7 in cairo_get_target ()
>>> 
>>> 
>>> On Wed, Jan 23, 2013 at 12:22 AM, Prof Brian Ripley
>>> <ripley at stats.ox.ac.uk>wrote:
>>> 
>>>> On 23/01/2013 02:40, m p wrote:
>>>> 
>>>>> Hello,
>>>>> I have R running on my Mac OSX 10.7.5 under X11 and when I
>> interactively
>>>>> in
>>>>> R issue x11() and plot(..) it exits with messages below.
>>>>> I can display multiple image formats including xwd.
>>>>> Is that fixable under X11, how?
>>>>> 
>>>> 
>>>> What do you think seq(1:10) does?  Add pointless typing strokes ....
>>>> 
>>>> This works on my machine: that suggests the problem is with the X11
>> setup
>>>> on your machine, maybe missing fonts given the traceback.  Please run
>> this
>>>> under a debugger to find out more.
>>>> 
>>>> Thanks,
>>>>> Mark
>>>>> 
>>>>> R> x <- seq(1:10)
>>>>> R> y <- seq(1:10)
>>>>> R> plot(x,y)
>>>>> 
>>>>> *** caught segfault ***
>>>>> address 0x10, cause 'memory not mapped'
>>>>> 
>>>>> Traceback:
>>>>> 1: axis(side = side, at = at, labels = labels, ...)
>>>>> 2: Axis.default(...)
>>>>> 3: Axis(...)
>>>>> 4: localAxis(if (is.null(y)) xy$x else x, side = 1, ...)
>>>>> 5: plot.default(x, y)
>>>>> 6: plot(x, y)
>>>>> 
>>>>> Possible actions:
>>>>> 1: abort (with core dump, if enabled)
>>>>> 2: normal R exit
>>>>> 3: exit R without saving workspace
>>>>> 4: exit R saving workspace
>>>>> 
>>>>>       [[alternative HTML version deleted]]
>>>>> 
>>>>> ______________________________**_________________
>>>>> R-SIG-Mac mailing list
>>>>> R-SIG-Mac at r-project.org
>>>>> https://stat.ethz.ch/mailman/**listinfo/r-sig-mac<
>> 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/<
>> 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 r-project.org
>>>> https://stat.ethz.ch/mailman/**listinfo/r-sig-mac<
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
>>>> 
>>> 
>>>      [[alternative HTML version deleted]]
>>> 
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>> 
>>> 
>> 
>> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list