Displaying 1 result from an estimated 1 matches for "previewborder".
2017 Oct 22
1
ggplot2 and tikzDevice : problems with accents
...ions(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))...