[R-SIG-Mac] Command Line Quartz Device in Yosemite

peter dalgaard pdalgd at gmail.com
Fri Oct 31 11:23:00 CET 2014


On 31 Oct 2014, at 10:24 , Colin A. Smith <colin at colinsmith.org> wrote:

> This thread got a bit off the topics I was originally hoping to discuss. Can anyone running Yosemite comment on whether their default graphics device is quartz or x11?
> 

Local builds on my laptop switched to quartz yesterday, so there is hope that this will make it to the 3.1.2 binaries. (Good thing, I'm still getting crashes on plot(0) with x11() - a Floating Exception deep inside cairo-something). The big apple / little apple effect is still there though.


> Also, is there any hope that the patch for the quartz command line device might be considered?

Ask Simon... My guess is that he hasn't had the time to look at it properly yet.

-pd


> Cheers,
> 
> Colin
> 
>> On Oct 28, 2014, at 23:33, Colin A. Smith <colin at colinsmith.org> wrote:
>> 
>> I’ve been using command line R fairly successfully under Yosemite so far and have only run into a few issues, mostly related to the quartz device.
>> 
>> First, it seems that under Yosemite, the default device is now x11 instead of quartz. I found this with the exact same pkg install of R that I was using in Mavericks, which defaulted to quartz. Installing the latest Mavericks build (3.1.1) results in the same behavior. Even when running "R_DEFAULT_DEVICE=quartz R”, the default device still ends up being x11. The quartz device can still be created manually with a call to quartz(). Does anyone else have this same problem?
>> 
>> Second, the menus for the quartz device created through the command line have gotten even stranger under Yosemite. With the current version there are actually two (!) Apple menus displayed, which looks quite odd:
>> 
>> https://dl.dropboxusercontent.com/u/21171664/R_Two_Apple_Menus.png
>> 
>> About a year ago I submitted a patch with made the command line quartz device act much more like a normal OS X application:
>> 
>> https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15438#c1
>> 
>> This patch continues to work well under Yosemite, and does not display the double Apple menu problem. However, it seems to have currently fallen off the radar. Given the even stranger behavior of the current code under Yosemite, perhaps evaluation of my patch could be given a higher priority? If it would help I can provide updated files which are drop-in replacements for the current R trunk.
>> 
>> Cheers,
>> 
>> Colin
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-SIG-Mac mailing list