On my friends Windows pc, then running any type of plots with knitr outputting with dev='tikz' I get an error.
It works with dev='pdf'.
It does output the file "foo-1.tikz" and this can be compiled fine on its own, however when using knitr by
knit("temp.Rnw")
then it
processing file: temp.Rnw
|...................... | 33%
ordinary text without R code
|........................................... | 67%
label: foo (with options)
List of 2
$ fig.height: num 4
$ dev : chr "tikz"
Creating new TikZ metrics dictionary at:
temp-tikzDictionary
Using TikZ metrics dictionary at:
temp-tikzDictionary
Quitting from lines 9-13 (temp.Rnw)
Error: failed to compile figure/foo-1.tikz to PDF
I have no idea what can be wrong and where to look for a solution. Somehow knitr cannot find out how to call pdflatex or something.
Can anyone give my a hint how to solve this?