On Fri, 10 Jul 2015, Hadley Wickham wrote:

Have you tried explicitly print()ing the lattice graphics in your knitr
doc?

Hadley,

  Only now. Had not thought of trying this before.

pdf('carlin-1-descriptive.pdf')
print(xyplot(value ~ sampdate | variable, data=carlin.1.melt, rm.na = T))

No error messages, but no graphic, either. Without specifying the pdf
device, TeX complains it cannot find a graphics device and lists bit-mapped,
ps and svg devices.

  Most likely I do not have the correct syntax.

Thanks,

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