R Documentation |
Quick display for rmd_doc
objects. This method also defines the way how
objects are displayed in the console.
## S3 method for class 'rmd_doc' print(x, maxlines = 10, ...)
x |
An object of class |
maxlines |
An integer value indicating the number of lines used for the display. Longer documents will be truncated. |
... |
Further arguments passed among methods (not yet in use). |
A display of the resulting R-Markdown document in the console.
## Document without header my_document <- read_rmd( file = file.path(path.package("yamlme"), "taxlistjourney.Rmd"), skip_head = TRUE ) my_document ## Add header using update my_document <- update(my_document, title = "A journey in rOpenSci", author = "Miguel Alvarez", output = "html_document" ) my_document ## Header only my_document$body <- NULL my_document
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.