search for: defdev

Displaying 7 results from an estimated 7 matches for "defdev".

2008 Apr 27
2
R_DEFAULT_DEVICE (PR#11294)
...200 @@ -22,7 +22,7 @@ extras <- if(.Platform$OS.type == "windows") list(windowsTimeouts = c(100L,500L)) else list(bitmapType = if(capabilities("aqua")) "quartz" else if(capabilities("cairo")) "cairo" else "Xlib") - defdev <- Sys.getenv("R_DEFAULT_DEVICE") + defdev <- as.character(Sys.getenv("R_DEFAULT_DEVICE")) if(!nzchar(defdev)) defdev <- "pdf" device <- if(interactive()) { intdev <- Sys.getenv("R_INTERACTIVE_DEVICE") --please do not...
2015 Sep 25
2
issues with dev.new avoiding RStudio plot device on unix?
...udio session (with R_DEFAULT_DEVICE and R_INTERACIVE_DEVICE not set). Do other unix RStudio users see this behavior? It appears that the relevant line of dev.new (and in zzz.R): else if (nzchar(dsp) && .Platform$GUI %in% c("X11", "Tk")) X11 else defdev but when I step through in debugger, I see that Browse[2]> .Platform$GUI [1] "RStudio" so instead of returning X11, it returnd defdev (pdf) perhaps changing to .Platform$GUI %in% c("X11", "Tk", "RStudio") would work, but seems a little strange logic...
2015 Sep 26
3
issues with dev.new avoiding RStudio plot device on unix?
...set). > > Do other unix RStudio users see this behavior? > > It appears that the relevant line of dev.new (and in zzz.R): > > ? ? else if (nzchar(dsp) && .Platform$GUI %in% c("X11", "Tk")) > ? ? ? ? ? ? ? X11 > ? ? else defdev > > > but when I step through in debugger, I see that > > Browse[2]> .Platform$GUI > [1] "RStudio" > > so instead of returning X11, it returnd defdev (pdf) > > perhaps changing to > > .Platform$GUI %in% c("X11", &quo...
2015 Sep 26
0
issues with dev.new avoiding RStudio plot device on unix?
...CE and R_INTERACIVE_DEVICE not set). > > Do other unix RStudio users see this behavior? > > It appears that the relevant line of dev.new (and in zzz.R): > > else if (nzchar(dsp) && .Platform$GUI %in% c("X11", "Tk")) > X11 > else defdev > > > but when I step through in debugger, I see that > > Browse[2]> .Platform$GUI > [1] "RStudio" > > so instead of returning X11, it returnd defdev (pdf) > > perhaps changing to > > .Platform$GUI %in% c("X11", "Tk", "RStudi...
2015 Sep 26
0
issues with dev.new avoiding RStudio plot device on unix?
...ther unix RStudio users see this behavior? >> >> It appears that the relevant line of dev.new (and in zzz.R): >> >> ? ? else if (nzchar(dsp) && .Platform$GUI %in% c("X11", "Tk")) >> ? ? ? ? ? ? ? X11 >> ? ? else defdev >> >> >> but when I step through in debugger, I see that >> >> Browse[2]> .Platform$GUI >> [1] "RStudio" >> >> so instead of returning X11, it returnd defdev (pdf) >> >> perhaps changing to >> >&gt...
2015 Oct 03
1
issues with dev.new avoiding RStudio plot device on unix?
...form$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$GUIs? In my case (Mac OS X 10.10.5), I'd like to get a quartz device. The problem here is that I have XQuartz in...
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()