I am trying to include a histogram created with qplot(ggplot2), with a code snippet
<<histAge, echo = F, message = F, warning = F, dev='tikz'>>=
plot(hist.age)
@
It works fine with dev='pdf', but does not work with dev='tikz'. The library is tikzDeviceinstalled in R, is tikzincluded in the document lyx.
If it matters, hist.ageis qplotwith a histogram geom.
A message in the lex says somewhere
System error (latexCmd, intern = T, ignore.stderr = T): 'C: \ Program' was not found.
Common error: Error: Unable to convert file.
I would really appreciate any help to make this work!
source
share