preview {iheiddown} | R Documentation |
Use the servr package to continuously serve and reload
the Rmd document. Run preview_start()
function while viewing the Rmd
panel of your presentation. To stop the server, run preview_stop()
.
preview_start(file_path, ...)
preview_stop(which = NULL)
file_path |
The input Rmd file path (if missing and in RStudio, the current active document is used). |
... |
Additional arguments passed to
|
which |
An integer vector of the server IDs;
by default, IDs of all existing servers in the current R session obtained
from |
Starts serving the current files to RStudio's Viewer pane.
Stops serving the current files to RStudio's Viewer pane.
xaringan