This function sets default options for code chunks in R Markdown documents based on the output format.

rmd_opts_set()

Value

None

Details

The function determines the output format (LaTeX or HTML) and sets appropriate chunk options. For LaTeX output, it sets options such as comment style, output width, figure settings, caching, and code styling. For HTML output, it sets similar options tailored for HTML rendering.

Examples

rmd_opts_set()