I am using RStudio 0.98.932 and knitr 1.6. Would like to set different global knitr options for word and html. For example, want to set fig.width and fig.height as 6 for word and 11 for html.
I can write some codes to switch the setting if it is available for the output format of a rmd file. How should I do this? Thanks for any suggestions.