search for: previewenvironment

Displaying 1 result from an estimated 1 matches for "previewenvironment".

2017 Oct 22
1
ggplot2 and tikzDevice : problems with accents
...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 co...