On Fri, 10 Jul 2015, Yihui Xie wrote:

Your LyX example has two problems:

Yihui, et al.:

  All fixed now. After adding the specific libraries the chuck calling
xyplot() to produce the graphic caused an error when I tried to generate a
dvips preview:

LaTeX Error: File 'figure/unnamed-chunk-7-1' not found.

I could not locate the file with any of these extensions:
.eps,.ps,.eps.gz,.ps.gz,.eps.Z

Which is what sent me down the path of specifying pdf() and dev.off().

  However, compiling with pdflatex produces the graphic in the document. All
part of being brand new to using knitr.

Thank you all very much,

Rich

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to