Hello,
So I am trying to import an image that I want to show full sized in R markdown via this code:
knitr::include_graphics("2017_2018downloadsR.png")
I have tried to change a variety of the option but I don't get it to work. The image shows but the full length of the image doesn't show.
#knitr::include_graphics("2017_2018downloadsR.png")
ball <- readPNG("2017_2018downloadsR.png", native = TRUE)
plot(0:1, 0:1, type = "n", ann = FALSE, axes = FALSE)
rasterImage(ball, 0, 0, 1, 1)
Doing that code shows the full graph but it is so small. Image size is 1343 x 722 pixels.