[R] PNG File in R Markdown HTML

Shivi Bhatia shivipmp82 at gmail.com
Tue Jan 10 14:57:01 CET 2017

Hi Team,

I am successfully able to add the company logo to the R markdown file using
the code below:

```{r, fig.width=3, fig.height=15,echo=FALSE, warning=FALSE, message=FALSE}
img <- readPNG("D:/Shivi/R Project/Name.png")
However the image gets displayed at the bottom of the html page. I have
tried deleting any empty space after this code but it does not help.

Request you to please advice.
Thanks, Shivi

	[[alternative HTML version deleted]]

More information about the R-help mailing list