Hi all, I can't fathom why the accented "é" in the following ggplot2 graph makes R hangs when using tikzdevice, whereas it works using simple pdf device.
###### library(tikzDevice) library(ggplot2) options(tikzDefaultEngine = "luatex") tikzLualatexPackages =c( "\\usepackage{tikz}\n", "\\usepackage[active, tightpage,psfixbb]{preview}\n", "\\usepackage{fontspec,xunicode}\n", "\\PreviewEnvironment{pgfpicture}\n", "\\setlength\\PreviewBorder{0pt}\n" ) x<- rnorm(10) y<- rnorm(10) df <- data.frame(x=x, y=y) #### This example works tikz(standAlone = TRUE) ggplot(df, aes(x=x, y=y))+geom_point() +xlab("e") dev.off() #### #### This example hangs and never completes tikz(standAlone = TRUE) ggplot(df, aes(x=x, y=y))+geom_point() +xlab("é") dev.off() #### #### Working OK when using pdf device pdf() ggplot(df, aes(x=x, y=y))+geom_point() +xlab("é") dev.off() #### Thanks for your help Jacques [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.