preview {iheiddown} | R Documentation |
Previewing rmarkdown documents
Description
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()
.
Usage
preview_start(file_path, ...)
preview_stop(which = NULL)
Arguments
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 |
Value
Starts serving the current files to RStudio's Viewer pane.
Stops serving the current files to RStudio's Viewer pane.
References
xaringan
[Package iheiddown version 0.9.7 Index]