RMarkdown

Percentage signs in PDF

% denote comments in \LaTeX. If you write a percentage sign somewhere in a Rmd file, \LaTeX won’t be able to compile it and will throw an error. To avoid this error, you need to espace by using

\\%

It’s that simple!