refresh: Update a notebook file

Description Usage Arguments Value Examples

Description

Parse and recompile a notebook file through knitr.

Usage

1

Arguments

file

the notebook filename

Value

The notebook filename (invisibly). The content of the notebook is updated as a side effect.

Examples

1
2
3
f = rnotebook::newnb()
rnotebook::refresh(f)  # compile the notebook
file.show(f)

yihui/rnotebook documentation built on May 4, 2019, 4:26 p.m.