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 tikzDevice
installed in R, is tikz
included in the document lyx
.
If it matters, hist.age
is qplot
with 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