exportToHTML {rock} | R Documentation |
Exporting tables to HTML
Description
This function exports data frames or matrices to HTML, sending output to one or more of the console, viewer, and one or more files.
Usage
exportToHTML(
input,
output = rock::opts$get("tableOutput"),
tableOutputCSS = rock::opts$get("tableOutputCSS")
)
Arguments
input |
Either a |
output |
The output: a character vector with one or more
of " |
tableOutputCSS |
The CSS to use for the HTML table. |
Value
Invisibly, the (potentially concatenated) input
as character
vector.
Examples
exportToHTML(mtcars[1:5, 1:5]);
[Package rock version 0.8.1 Index]