I am unable to knit the rmarkdown file to pdf. I have tried every single thing on the internet however I am still getiin g this error. I did download MikTex on my system. It is not able to compile the tex file. Please let me know what can be done.
Error: Failed to compile HW1_samer.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See HW1_samer.log for more info.
In addition: Warning messages:
1: running command '"pdflatex" -halt-on-error -interaction=batchmode "HW1_samer.tex"' had status 1
2: running command '"pdflatex" -halt-on-error -interaction=batchmode "HW1_samer.tex"' had status 1
Execution halted