rstudio-education / arm-workshop-rsc2019

Materials for the rstudio::conf 2019 Advanced R Markdown workshop
https://arm.rbind.io
Creative Commons Attribution Share Alike 4.0 International
114 stars 55 forks source link

knitr::include_graphics() may not be the best way to control image size in xarnigan #25

Closed skolenik closed 5 years ago

skolenik commented 5 years ago

The slide All other images proposes to use include_graphics() to control the image size. I was not able to make it work (probably because it is supposed to interact with Pandoc, and xarnigan skips that). I had better luck with out.width chunk option.

apreshill commented 5 years ago

Yes, thank you for noting this, adding slide link here: http://arm.rbind.io/slides/xaringan.html#otherimages