> knitr::knit("/Users/rrodriguez/Library/Mobile Documents/com~apple~CloudDocs/00_IDIS_Rwd/PDFtest.Rmd", output="PDFtest.tex") processing file: /Users/rrodriguez/Library/Mobile Documents/com~apple~CloudDocs/00_IDIS_Rwd/PDFtest.Rmd |......... | 14% ordinary text without R code |................... | 29% label: setup (with options) List of 1 $ include: logi FALSE |............................ | 43% ordinary text without R code |..................................... | 57% label: cars |.............................................. | 71% ordinary text without R code |........................................................ | 86% label: pressure (with options) List of 1 $ echo: logi FALSE |.................................................................| 100% ordinary text without R code output file: PDFtest.tex [1] "PDFtest.tex" > tools::texi2dvi("PDFtest.tex", pdf = TRUE) Error in tools::texi2dvi("PDFtest.tex", pdf = TRUE) : Running 'texi2dvi' on 'PDFtest.tex' failed. LaTeX errors: ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! Missing $ inserted. $ l.3 output: pdf_ document ! Missing $ inserted. $ l.5 ! You can't use `macro parameter character #' in vertical mode. l.8 # # R Markdown Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. ! You can't use `macro parameter character #' in vertical mode. l.8 ## R Markdown Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ! LaTeX Error: Miss >