RMarkdown error message

I am new to markdown.
I just download miktex from below link, using the window Installer.

I set up a new markdown file, and save the file as "markdowntest.rmd". Using the standard template and knit the file from R Studio and got the following error message. I am not sure how to fix this problem.

output file: markdowntest.knit.md

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS markdowntest.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output markdowntest.tex --template "C:\Users\wypwo\Documents\R\win-library\3.4\rmarkdown\rmd\latex\default-" --highlight-style tango --latex-engine pdflatex --variable graphics=yes --variable "geometry:margin=1in"

Output created: markdowntest.pdf
Error in tools::file_path_as_absolute(output_file) :
file 'markdowntest.pdf' does not exist
Calls: ->
In addition: Warning messages:
1: running command '"pdflatex" -halt-on-error -interaction=batchmode "markdowntest.tex"' had status 1
2: In readLines(logfile) :
incomplete final line found on 'markdowntest.log'
Execution halted

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