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}
library(png)
library(grid)
img <- readPNG("D:/Shivi/R Project/Name.png")
 grid.raster(img)
```
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]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to