I'd like to change the height and width of
m <- leaflet() %>% setView(lng = -71.0589, lat = 42.3601, zoom = 12)
m %>% addTiles()
you can set like a global figure size to the whole document... But I think your code chunks will rescale, the images not.
library(knitr) opts_chunk$set(fig.width=12, fig.height=8)
Actually, I didn't checked it with
leaflets. Hope this code is still working.