How to control the margins of figures when knitting a HTML in R? -


i plot heatmap heatmap.2 , looks right in plots panel of rstudio. however, when knit html using knitr, choked at: error in plot.new() : figure margins large

anyways control figure margin? reset out.width , out.height in opts_chunk without success. thank you.

you might try fig.height , fig.width chunk options. not sure, think these might work because adjust graphics device discussed here


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -