When knitting an R Markdown document after the first time, errors may sometimes appear. Three tips are recommended below.
- Close PDF reader window When the document is knitted through the ‘Knit’ button, a PDF reader window opens to present the result. Closing this window can help resolve errors.
- Delete service files Every time the Rmd is knitted, some service files are created. Some of these files have the ‘.