search for: c_makequartzdefault

Displaying 3 results from an estimated 3 matches for "c_makequartzdefault".

2015 Oct 03
1
issues with dev.new avoiding RStudio plot device on unix?
...ou consider the code used to determine whether quartz() or X11() is available dsp <- Sys.getenv("DISPLAY") if (.Platform$OS.type == "windows") windows else if (.Platform$GUI == "AQUA" || ((!nzchar(dsp) || grepl("^/tmp/launch-", dsp)) && .Call(C_makeQuartzDefault))) quartz else if (nzchar(dsp) && .Platform$GUI %in% c("X11", "Tk")) X11 else defdev you can see that it checks for a DISPLAY variable and assumes that X11 can be used if it is set. Wouldn't it be just as safe to add RStudio to the list of accepted .Platform...
2015 Sep 29
2
issues with dev.new avoiding RStudio plot device on unix?
On 09/26/2015 03:22 AM, Duncan Murdoch wrote: > On 26/09/2015 1:42 AM, Skye Bender-deMoll wrote: >> Sorry, should have given more background. x11 works fine on all my >> systems when called by x11(). I'm the maintainer of a package that uses >> the animation library, which has performance issues when used with the >> RStudio plot device. But if you call plot.new()
2015 Sep 26
3
issues with dev.new avoiding RStudio plot device on unix?
Sorry, should have given more background. x11 works fine on all my systems when called by x11(). I'm the maintainer of a package that uses the animation library, which has performance issues when used with the RStudio plot device. But if you call plot.new() when using RStudio, you get an RStudio device, not the standard device for the platform because it overrides the device option.