Displaying 1 result from an estimated 1 matches for "tightpag".
Did you mean:
tightpage
2017 Oct 22
1
ggplot2 and tikzDevice : problems with accents
...n 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)
ggpl...