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