Displaying 1 result from an estimated 1 matches for "x11_metricinfo".
2017 Jun 21
1
encoding/locale problem with ssh -X
...ns 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 as is plotting to another device (pdf, say).
Here is some code to reproduce:
,----
| plot(1:10, 1:10, main = "gr??e")
| ## this works
|
| library("ggplot2")
| qplot(1:10, 1:10)
| ## this works still
|
| qplot(1:10, 1:10) + xlab("...