Unable to get tikzDevice to work
问题 I have a problem with tikzDevice . I'm using the latest versions of R (with latest knitr and tikzDevice packages) and RStudio , updated TeX Live to 2015 binaries (and I think I have all the required packages). When I try to output graphics to tikzDevice , compilation hangs. Other graphics devices like PDF or CairoPNG work without a problem. As an example, I tried to compile a the simple code below from RStudio with XeLaTeX (set as the default LaTeX compiler in RStudio ), but it hangs forever