I just installed MikTex and am trying to make a PDF from R Markdown. I just wanted to test it out, so I made a new markdown and tried to knit but I'm getting an error message saying:
! Sorry, but C:\PROGRA~1\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 MyFirstRMarkdown.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See MyFirstRMarkdown.log for more info.
I read that having multiple downloads of MikTex may cause this problem, so I checked and I do have it installed multiple times. I tried to uninstall it so I would only have one, but it says "MikTex Console is already running". I then went to task manager to see if it was running since I wasn't aware of it being open anywhere. It had it running in the background so I killed it. Now, it continues to say it's already running which means I'm unable to uninstall it.
I'm not even sure if that is the solution to my original problem of not being able to create a PDF. Really, all I need is to create a PDF from R markdown, but I've gotten super lost now. Any help is super appreciated.