When I tried to knit my R markdown file to pdf file, it suddenly showed the following error,
Fatal error: creating temporary file for '-e' failed
I have successfully knitted my files before, and I think it didn't related to the codes, as I tried to knit the default Rmarkdown file, it still failed.
I searched online and only found out solutions for Windows, and I was using the MacOS system.
Can anyone help to solve the problem, thanks!