[R] Compiling graphics into the same PDF file

Yihui Xie xie at yihui.name
Mon Apr 16 17:00:37 CEST 2012


Just FYI: if you use the knitr package
(http://yihui.name/knitr/demo/rstudio/), you do not need fig=TRUE;
knitr will not create Rplots.pdf either.

For the plot files, I do not understand why they should not be
generated -- how is LaTeX supposed to insert them into the final PDF
output if they are not generated?

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Apr 16, 2012 at 9:31 AM, damiloveu <wuyi.li at live.com> wrote:
> Thanks, Ista.
>
> I inserted fig=TRUE to the chunk and it did work. However, it generated each
> plot into separate files in the directory as well.
>
> I have much more to learn soon.
>
>
> Wuyi
>



More information about the R-help mailing list