Full on RStudio noob here, trying to figure out how to knit an rmd file. I've tried opening a new rmd file and instantly tried to knit it before adding anything, and I get the following error messages:
! Sorry, but C:\Users\username\AppData\Local\Programs\MiKTeX\miktex\bin\x64\pdflatex.exe did not succeed.
! The log file hopefully contains the information to get MiKTeX going again:
Error: LaTeX failed to compile test2.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See test2.log for more info.
When I first tried it, it told me I didn't have an LaTeX integrater, so I followed a link it provided and downloaded miktex. I have tried to restart RStudio and also followed the tip from the debugging link of trying to update RStudio packages, but hasn't helped so far. Any help is much appreciated!