I'm very new to R, and when I try to knit rmd files to PDFs, I get the following message:
I was unable to find any missing LaTeX packages from the error log Homework-2.log.
! Missing endcsname inserted.
Error: LaTeX failed to compile Homework-2.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See Homework-2.log for more info.
I followed the instructions in the URL given, but it still didn't work. Any advice is much appreciated