I am getting started with R markdown and I would like to create a new report having our company image logo.png in the upper right corner of each page.
logo.png
I
Ok, I have found the solution:
--- title: header-includes: \usepackage{graphicx} \usepackage{fancyhdr} \pagestyle{fancy} \setlength\headheight{28pt} \fancyhead[L]{\includegraphics[width=5cm]{GPIM_Logo_300x85.png}} \fancyfoot[LE,RO]{GPIM} output: pdf_document ---