Closed fzesch closed 7 years ago
Thanks. The %
leaks into the generated LaTeX code. You need to run tikz(sanitize = FALSE)
(which prevents you from using LaTeX in your plots) or escape the percent characters yourself (with a custom formatter that wraps percent_format()
).
Thanks. Just for the sake of completeness: The correct command is tikz(sanitize = TRUE)
if I want to get the right output. I did not know about this option, thanks for the help!
I want to plot with
ggplot
andpercent_format()
fromscales
likeBut I receive the error
Which is of course a perfectly escaped error but nevertheless keeps me from getting my figure.