Displaying 7 results from an estimated 7 matches for "resolvehjust".
2012 Jun 04
1
X11 font error on headless server running Xvfb
...as.graphicsAnnot(x$label), x$x, x$y, :
X11 protocol error: BadMatch (invalid parameter attributes)
2: In grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :
X11 protocol error: BadMatch (invalid parameter attributes)
3: In grid.Call.graphics(L_rect, x$x, x$y, x$width, x$height, resolveHJust(x$just, :
X11 protocol error: BadMatch (invalid parameter attributes)
4: In grid.Call.graphics(L_rect, x$x, x$y, x$width, x$height, resolveHJust(x$just, :
X11 protocol error: BadMatch (invalid parameter attributes)
5: In grid.Call.graphics(L_text, as.graphicsAnnot(x$label), x$x, x$y, :
X11...
2020 May 19
2
Graphic parameters with length zero in grid cause R to crash
...nt exception: 8?".
If I set the value of `fill` to an integer, the following code causes an error with a
not informative error message.
> library(grid)
> gp = gpar(fill = as.integer(1))
> grid.rect(gp = gp[integer(0)])
Error in grid.Call.graphics(C_rect, x$x, x$y, x$width, x$height, resolveHJust(x$just, :
numerical color values must be >= 0, found -192882464
But sometimes it also causes R to crash.
My session info:
```
> sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.4
Matrix products: default
BLAS:...
2005 Nov 15
1
combination xyplot and barchart?
...ripts, ...);
panel.barchart(x=enviro$Day, y=enviro$Precip, subscripts=subscripts,
...)})
Two panels are produced; however, both years' data are plotted in each
panel (panels look identical). And I get this error:
Error in grid.Call.graphics("L_rect", x$x, x$y, x$width, x$height,
resolveHJust(x$just, :
invalid line type
From the documentation or the help archives, I cannot understand how to:
1) indicate a conditioning variable (Year) for panel.barchart and
panel.xyplot
2) have 2 y axes with different scales in one panel
Is this even possible to do using lattice? Any insight is gre...
2008 Feb 05
2
Error in grid.text after tcltk package loaded
...t;L_text", as.graphicsAnnot(x$label), x$x, :
supplied color is not numeric nor character
My traceback always looks like this:
> traceback()
5: .Call.graphics(fnname, ..., PACKAGE = "grid")
4: grid.Call.graphics("L_text", as.graphicsAnnot(x$label), x$x,
x$y, resolveHJust(x$just, x$hjust), resolveVJust(x$just,
x$vjust), x$rot, x$check.overlap)
3: drawDetails.text(x, recording = FALSE)
2: drawDetails(x, recording = FALSE)
1: drawGrob(x)
I can only get these messages to happen after loading the tcltk package,
using grid.text, with 'many' text str...
2011 Aug 16
1
Query for semi-transparency support
In ?par there is the following line:
"Semi-transparent colors are available for use on devices that support them."
I'm looking for a way to query for that support on the current device.
I'm pretty sure that this functionality exists at some level as I
remember seeing warnings to this effect but my searches have come up
empty. Is anyone familiar with a direct path to this
2006 Dec 08
1
missing factor levels in a lattice barchart panel cause unexpected failure
...ttice barchart graphs with missing
values, and came across the following:
This does not run. I would expect it to:
library(lattice)
D = data.frame(X=1, Y=factor(letters[2], letters[1:2]))
barchart(~ X, D, groups=Y)
Error in grid.Call.graphics("L_rect", x$x, x$y, x$width, x$height,
resolveHJust(x$just, :
invalid line type
which is simply solved by changing the factor levels:
D$Y = factor(D$Y)
barchart(~ X, D, groups=Y)
or by filling factor levels from the bottom:
D = data.frame(X=1, Y=factor(letters[1], letters[1:2]))
barchart(~ X, D, groups=Y)
However, the failure is important, be...
2012 Mar 16
1
ggmap crash
..._raster(h_raster, lonr[1], lonr[2], latr[1], latr[2]) + geom_point(aes(x=siteLon, y=siteLat), colour='red', data = sites)
*** caught segfault ***
address 0x196188000, cause 'memory not mapped'
Traceback:
1: grid.Call.graphics(L_raster, x$raster, x$x, x$y, x$width,
x$height, resolveHJust(x$just, x$hjust), resolveVJust(x$just,
x$vjust), x$interpolate)
2: drawDetails.rastergrob(x, recording = FALSE)
3: drawDetails(x, recording = FALSE)
4: drawGrob(x)
5: recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
6: grid.draw.grob(x$children[[i]], recording = FAL...