Hao Zhu | 73cf373 | 2018-05-11 17:50:05 -0400 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/save_kable.R |
| 3 | \name{save_kable} |
| 4 | \alias{save_kable} |
| 5 | \title{Save kable to files} |
| 6 | \usage{ |
Hao Zhu | 7f8b684 | 2018-10-23 17:41:13 -0400 | [diff] [blame^] | 7 | save_kable(x, file, bs_theme = "simplex", self_contained = TRUE, ...) |
Hao Zhu | 73cf373 | 2018-05-11 17:50:05 -0400 | [diff] [blame] | 8 | } |
| 9 | \arguments{ |
| 10 | \item{x}{A piece of HTML code for tables, usually generated by kable and |
| 11 | kableExtra} |
| 12 | |
Hao Zhu | 7f8b684 | 2018-10-23 17:41:13 -0400 | [diff] [blame^] | 13 | \item{file}{save to files. If the input table is in HTML and the output file |
| 14 | ends with \code{.png}, \code{.pdf} and \code{.jpeg}, \code{webshot} will be used to do the |
| 15 | conversion} |
Hao Zhu | 73cf373 | 2018-05-11 17:50:05 -0400 | [diff] [blame] | 16 | |
| 17 | \item{bs_theme}{Which Bootstrap theme to use} |
| 18 | |
| 19 | \item{self_contained}{Will the files be self-contained?} |
Hao Zhu | 7f8b684 | 2018-10-23 17:41:13 -0400 | [diff] [blame^] | 20 | |
| 21 | \item{...}{Additional variables being passed to \code{webshot::webshot}.`} |
Hao Zhu | 73cf373 | 2018-05-11 17:50:05 -0400 | [diff] [blame] | 22 | } |
| 23 | \description{ |
| 24 | Save kable to files |
| 25 | } |