[R] knitr

Yihui Xie xie at yihui.name
Thu Aug 30 19:33:01 CEST 2012


Can you post a reproducible example? Do you have \begin{document} in
your Rnw file?

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 Thu, Aug 30, 2012 at 10:35 AM, Sven D <sduve at hotmail.com> wrote:
> Hello,
>
> after trying to convert to pdf using knitr, I get the following error
> messages from the error log:
>
> C:/Users/duve/Documents/plots2.tex:5: LaTeX Error: Missing \begin{document}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help
> You're in trouble here.  Try typing  <return>  to proceed.
> If that doesn't work, type  X <return>  to quit.
>
>
> Has anyone a clue what the problem might be?
>
>
> Thanks
>
>
> Sven




More information about the R-help mailing list