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
Post a Comment