search for: maxcubesize

Displaying 17 results from an estimated 17 matches for "maxcubesize".

2006 Feb 08
1
invalid graphics state using dev.print (fwd)
...evice = function (filename = "Rplot%03d.png", width = 480, : invalid graphics state > traceback() 6: dev.copy(device = function (filename = "Rplot%03d.png", width = 480, height = 480, pointsize = 12, gamma = 1, colortype = getOption("X11colortype"), maxcubesize = 256, bg = "white", fonts = getOption("X11fonts"), res = NA) .Internal(X11(paste("png::", filename, sep = ""), width, height, pointsize, gamma, colortype, maxcubesize, bg, bg, fonts, res)), width = 6.98715785526809, height = 6.9945256...
2004 Jun 16
1
dev() error
I don't know what I have done!! When I try to invoke a display function via plot(), image() or whatever, my X11 window doesn't appear. I have tried to type X11() but the following error message is displayed: > x11() Error in X11(display, width, height, pointsize, gamma, colortype, maxcubesize, : unable to start device X11 In addition: Warning message: unable to open connection to X11 display`' I have tried dev.cur() and dev.list() but these suggest that only my null device is active and I am unsure how to activate my X11 device by any other means! I'm sure this is a st...
2006 May 09
1
2.3.0 problems
...iority"]) & (pk[,"Priority"] %in% c("base","recommended")),1]) library(ii,character.only=TRUE) utils::help.start() grDevices::x11(display = "", width = 9, height = 7, pointsize = 12, gamma = 1, colortype = getOption("X11colortype"), maxcubesize = 256) cat(paste("Started in",system("pwd",TRUE)," with '~/R/.Rprofile' edited on ", editedOn,"\n")) } Christian -- Dr. Christian W. Hoffmann, Swiss Federal Research Institute WSL Mathematics + Statistical Computing Zuercherstrasse 111 CH-8903...
2004 Jan 07
1
Sweave and X11 on OSX 10.3
...get: > Sweave("example-1.Snw") Writing to file example-1.tex Processing code chunks ... 1 : echo term verbatim 2 : term verbatim eps pdf Warning message: unable to open connection to X11 display`' Error: chunk 2 Error in X11(display, width, height, pointsize, gamma, colortype, maxcubesize, : unable to start device X11 If I start the X11 application, Sweave runs as normal but displays any figures on an x11() device in addition to creating the eps / pdf files. I don't remember this happening before and experience teaches me to assume the issue is with my own setup rathe...
2004 Jun 16
1
start-up problems
...ut.*.ps files\n") system("rm -f ps.out.*.ps") system(" \n") } .First <- function() { options(digits=6) library(MASS) help.start() x11(display = "", width = 9, height = 7, pointsize = 12, gamma = 1, colortype = getOption("X11colortype"), maxcubesize = 256) } > Now > source("$R_PROFILE/.Rprofile") Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `$R_PROFILE/.Rprofile' > but > source("~/R/.Rprofile") /home/woodstock/hoffmacw/R/test > Thi...
2019 Apr 30
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...ially the same structure as it did back then. I think it may have finally dawned upon me what the issue really is: > > The logic is that in Rf_addX11Device, we have > > if (!X11DeviceDriver(dev, display, width, height, > ps, gamma, colormodel, maxcubesize, > bgcolor, canvascolor, sfonts, res, > xpos, ypos, title, useCairo, antialias, family)) { > free(dev); > errorcall(call, _("unable to start device %s"), devname); > } >...
2009 Mar 24
1
segfault when running heatmap()
...= ".X11.Options", envir = .X11env) type <- if (capabilities("cairo")) switch(d$type, cairo = 1, nbcairo = 2, 0) else 0 if (display == "XImage") type <- 0 .Internal(X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, d$maxcubesize, d$bg, d$canvas, d$fonts, NA_integer_, d$xpos, d$ypos, d$title, type, d$antialias))}() 2: par(no.readonly = TRUE) 3: heatmap(selected.matrix, distfun = cor.dist, zlim = zlim, col = colors.for.heatmap) 4: eval.with.vis(expr, envir, enclos) 5: eval.with.vis(ei, envir) Here is the sessionIn...
2019 Apr 25
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...gt;It is probably not unrelated to the R_ProcessEvents line that >I took out, but that was definitely wrong. However, one might reenable >it if one could change this bit of code > > if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, > colormodel, maxcubesize, canvascolor)) { > free(dev); > errorcall(gcall, "unable to start device %s", devname); > } > gsetVar(install(".Device"), mkString(devname), R_NilValue); > dd = GEcreateDevDesc(dev); > addDevice((DevDesc*) dd); > initDisplayList((DevDesc*) dd)...
2019 May 02
1
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...same structure as it did back then. I think it may have finally dawned upon me what the issue really is: >>> The logic is that in Rf_addX11Device, we have >>> if (!X11DeviceDriver(dev, display, width, height, >>> ps, gamma, colormodel, maxcubesize, >>> bgcolor, canvascolor, sfonts, res, >>> xpos, ypos, title, useCairo, antialias, family)) { >>> free(dev); >>> errorcall(call, _("unable to start device %s"), devname);...
2019 Apr 27
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
..., and AFAICT it has essentially the same structure as it did back then. I think it may have finally dawned upon me what the issue really is: The logic is that in Rf_addX11Device, we have if (!X11DeviceDriver(dev, display, width, height, ps, gamma, colormodel, maxcubesize, bgcolor, canvascolor, sfonts, res, xpos, ypos, title, useCairo, antialias, family)) { free(dev); errorcall(call, _("unable to start device %s"), devname); } dd = GEcreateDevDesc(dev);...
2019 May 02
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...ntially the same structure as it did back then. I think it may have finally dawned upon me what the issue really is: >> The logic is that in Rf_addX11Device, we have >> if (!X11DeviceDriver(dev, display, width, height, >> ps, gamma, colormodel, maxcubesize, >> bgcolor, canvascolor, sfonts, res, >> xpos, ypos, title, useCairo, antialias, family)) { >> free(dev); >> errorcall(call, _("unable to start device %s"), devname); >>...
2000 Jul 18
5
X11 & dev2bitmap
...uot;InsectSpray.BMP") Error in device(...) : Object "width" not found I looked-up what R means by 'device' and constructed this command: > X11(display = "", width = 7, height = 7, pointsize = 12, gamma = 1, colortype = getOption("X11colortype"), maxcubesize = 256) with no resistance, but no change in the result. I looked up files containing x11 or X11 on my systen and found: /usr/local/R_HOME/R-1.1.0/src/unix/X11 /usr/local/R_HOME/R-1.1.0/src/unix/X11/devX11.c /usr/local/R_HOME/R-1.1.0/src/unix/X11/devX11.d /usr/local/R_HOME/R-1.1.0/src/unix/X11/...
2019 Apr 24
2
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
I don't recall exactly what I did 18 years ago eiher and I likely don't have the time to dig into the archives and reconstruct. I can imagine that the issue had to do with the protocol around creating and mapping windows. Presumably the segfault comes from looking for events on a window that hasn't been created yet, or has already been destroyed, leading to a NULL reference somewhere.
2019 Apr 24
0
[FORGED] src/modules/X11/devX11.c, can we remove "#if BUG" yet
...pen in 1.3.1 but... It is probably not unrelated to the R_ProcessEvents line that I took out, but that was definitely wrong. However, one might reenable it if one could change this bit of code if (!(ptr_X11DeviceDriver)((DevDesc*)(dev), display, width, height, ps, gamma, colormodel, maxcubesize, canvascolor)) { free(dev); errorcall(gcall, "unable to start device %s", devname); } gsetVar(install(".Device"), mkString(devname), R_NilValue); dd = GEcreateDevDesc(dev); addDevice((DevDesc*) dd); initDisplayList((DevDesc*) dd); and put the if-clause la...
2002 Apr 10
5
Funny characters in x11 window title (PR#1451)
In R-1.5.0pre (2002-04-08) on Solaris 2.6, the window that X11() creates has a title like: R Graphics: Device 2 (ACTIVE) o iyeP )( y except the funny characters at the end have umlauts and other accents (i.e. extended ASCII characters), and they may be different each time X11() is invoked. There is no loss of functionality; it just looks a little ugly. I saw this behavior in R-1.3.?, it
1999 Dec 03
1
R-help Digest V1 #34
...e par.default() function. If one desires, one could do it via the startup function, simply by a call to par based on the options). For instance, try changing X11 to X11<-function (display = "", width = 7, height = 7, pointsize = 12, gamma = 1, colortype = options()$X11colortype, maxcubesize = 256) { .Internal(X11(display, width, height, pointsize, gamma, colortype, maxcubesize)) par(ask=T) } and then example(barplot) dev.off() par(ask=F) example(barplot) - -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph....
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...: R-1.2.1/src/unix c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c devices.c -o devices.o cc-1185 c89: WARNING File = devices.c, Line = 111 An enumerated type is mixed with another type. colormodel, maxcubesize)) { ^ ------------------------------------------------------------------------ c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c edit.c -o edit.o cc-1185 c89: WARNING File = edit.c, Line = 109 An enum...