how to produce pdf-latex file by knitr

I tried to make a pdf result by using knitr. but it cannot show the result.
I tuned the options of tools (sweave) by knitr, pdflatex, sumatra .
the error message is given below:
Could you let me know why i cannot make a pdf file?

Thank you very much!

truegrit


Loading required package: knitr

processing file: minimal.Rnw
|......................................................................| 100%
ordinary text without R code

output file: minimal.tex

[1] "minimal.tex"
Running pdflatex.exe on minimal.tex...failed
Error running C:/Users/i164h/AppData/Local/Programs/MIKTEX~1.9/miktex/bin/x64/pdflatex.exe (exit code 1)


You do expect wonders from the RStudio Community, aren’t you:
just specify the output and let us determine the input.

It is not clear what you want to achieve but maybe the article
Produce LaTeX from Rmarkdown gives you some ideas.

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