HTML Output for 'view.
view_html.Rd
An alternative to 'View' for use with 'view'.
Usage
view_html(x,title=deparse(substitute(x)),output,...)
Arguments
- x
the result of
viewPrep
, a matrix of character strings.- title
an optional character string; shown as the title of the display.
- output
a function or the name of a function. It determines how where the HTML code is directed to.
If the working environment is RStudio, the default value is
"file.show"
. In other interactive environments it is"browser"
. In non-interactive sessions it is"stdout"
.If
output
equals"browser"
the generated HTML code is shown usingbrowseURL
. Ifoutput
equals"stdout"
the HTML code is written to the console output window. Ifoutput
equals"file.show"
, the functionfile.show
is used.If
view_html
is called within a Jupyter session, the HTML code created is envelopped in a pair of<div>
tags and included into the Jupyter output.- ...
other arguments; ignored.