display_<text> {IRdisplay} | R Documentation |
Display a specific textual output
Description
Either data
or file
must be passed.
Usage
display_text(data = NULL, file = NULL)
display_json(data = NULL, file = NULL)
display_javascript(data = NULL, file = NULL)
display_html(data = NULL, file = NULL)
display_markdown(data = NULL, file = NULL)
display_latex(data = NULL, file = NULL)
Arguments
data |
The code or markup content as a |
file |
The path to a file or a |
See Also
Examples
## Not run: ## (Run inside of an IRkernel)
display_text('Just text')
display_markdown('[MD](http://commonmark.org) *formatted*')
display_javascript('execute(this)')
## End(Not run)
[Package IRdisplay version 1.1 Index]