Last chance! 50% off unlimited learning
Sale ends in
Creates a template binding a label to a set of chunk options. Every chunk that references the template label will have the specified set of options applied to it.
opts_template
An object of class list
of length 6.
opts_template$set(myfigures = list(fig.height = 4, fig.width = 4))
# later you can reuse these chunk options by 'opts.label', e.g.
# <>=
# the above is equivalent to <>=
Run the code above in your browser using DataLab