search for: convertheight

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

2011 Oct 25
1
R fails when converting units using Hershey-Fonts
I run into some problems when trying to convert units using Hershey-Fonts: R chrashes. > library(grid) > label <- "some text" > pushViewport(viewport(gp=gpar(fontfamily="HersheySerif"))) > convertHeight(stringHeight(label), unitTo="mm") *** caught segfault *** address 0xadc838f8, cause 'memory not mapped' Traceback: 1: .Call(fnname, ..., PACKAGE = "grid") 2: grid.Call("L_convert", x, as.integer(whatfrom), as.integer(whatto), valid.units(...
2004 Apr 09
1
R-1.9.0 beta: vignettes for package grid
...s for package 'grid' ... Warning messages: 1: 'viewport.transform' is deprecated. Use 'current.transform' instead. See help("Deprecated") 2: 'grid.convertWidth' is deprecated. Use 'convertWidth' instead. See help("Deprecated") 3: 'grid.convertHeight' is deprecated. Use 'convertHeight' instead. See help("Deprecated") Error: chunk 12 Error in c(0, 0, 1) %*% transform : requires numeric matrix/vector arguments Error in tools:::.installPackageVignettes("../library/grid", "../../library/grid ") :...
2017 Jun 21
1
encoding/locale problem with ssh -X
Hi all, I am struggling with remote R sessions and a (I suspect) locale related encoding problem: Using the X11 device (X11forwarding enabled), whenever I try to plot something containing umlauts using ggplot2, I am seeing sth like ,---- | Error in grid.Call(L_stringMetric, as.graphicsAnnot(x$label)) : | invalid use of -61 < 0 in 'X11_MetricInfo' `---- Using base graphics is fine