Learn R Programming

knitr (version 0.6.3)

opts_knit: Options for the knitr package

Description

Options including whether to use a progress bar when knitting a document, and the base directory of images, etc.

Usage

opts_knit

Arguments

format

List of 4 $ get :function (name, default = FALSE) $ set :function (...) $ merge :function (values) $ restore:function ()

References

Usage: http://yihui.name/knitr/objects

A list of available options: http://yihui.name/knitr/options#package_options

Examples

Run this code
opts_knit$get("verbose")
opts_knit$set(verbose = TRUE)  # change it

Run the code above in your browser using DataLab