[R-SIG-Mac] Building R GUI

Simon Urbanek simon.urbanek at r-project.org
Fri Feb 16 04:21:19 CET 2007


On Feb 15, 2007, at 2:09 AM, thatsanicehatyouhave at mac.com wrote:

> Hi,
>
> I am trying to run the R GUI from Xcode and am having a little
> problem with it. I have the current R distribution installed (R 2.4.1
> GUI 1.18 (4038)). I downloaded build 4045 of the Xocde project and am
> able to compile with no problem. R GUI runs, but the first time I
> open a quartz window it crashes.
>

This is a very strong indicator of a compiler mismatch. Make sure  
your R and the GUI are compiled with the same compiler. For example  
CRAN released R 2.4.1+ R.app compiled using Xcode will crash.


> It's dying in QuartzDevice.m on line 686:
>
> [xd->DevView lockFocus];
>
> What's happening is that xd is nil, the line 676 above is not
> returning a proper QuartzDesc:
>
> QuartzDesc *xd = (QuartzDesc*)dd->deviceSpecific;
>
> I don't see anything unusual on the console. Finally, I'm running
> Xcode 2.4 on OS X 10.4.8 on an Intel Mac mini.
>
> Cheers for any help!
>
> Demitri
>
> _______________________________________________
> 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