read_rmd | R Documentation |
Import Rmd files into objects of class rmd_doc.
The function txt_body()
add a line break at the end of each element of a
character vector considering them as single lines.
Note that comments will be deleted in the input file.
read_rmd(file, ..., skip_head = FALSE) txt_body(...)
file |
Character value indicating the path and the name to the Rmd file. |
... |
Arguments passed by |
skip_head |
Logical value indicating whether the yaml head should be skip or not (this argument is not used at the moment). |
The function read_rmd()
returns a rmd_doc object.
The function txt_body()
, a character vector suitable for the parameter
body
in the function write_rmd()
.
## Not run: ## Read pre-installed example ex_document <- read_rmd(file.path( path.package("yamlme"), "taxlistjourney.Rmd" )) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.