Output PDF trouble shooting from Rmarkdown.

Hi there,

I'm having issues trying to troubleshoot how to output a pdf from Rmarkdown.

I'm getting the below message:

  |...............................................................  |  97%
label: unnamed-chunk-15 (with options) 
List of 1
 $ echo: logi FALSE

  |.................................................................| 100%
  ordinary text without R code


output file: Blu_Report_Markdown.knit.md

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Blu_Report_Markdown.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output Blu_Report_Markdown.tex --template "C:\Users\luisf\Documents\R\win-library\3.5\rmarkdown\rmd\latex\default-1.17.0.2.tex" --highlight-style tango --pdf-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in" --variable "compact-title:yes" --include-in-header "C:\Users\luisf\AppData\Local\Temp\Rtmpec3AMZ\rmarkdown-str140c12e6381f.html" 
Error: Failed to compile Blu_Report_Markdown.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips.
In addition: Warning message:
In readLines(logfile) :
  incomplete final line found on 'Blu_Report_Markdown.log'
Execution halted

On the project directory, there is a file named: Blu_Report_Markdown.log
After going through it, nothing popped as an alert of a problem.

I also visited the suggested website above, where it is suggested to add above the rmarkdown script with hope to have some sort of indication of why it isn't working.

options(tinytex.verbose = TRUE)

Any direction to troubleshoot would be helpful.
Best regards,
LF.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.