Description Usage Arguments Value See Also Examples
View source: R/RenderReportToFile.R
Creates a report from a specified RMarkdown file.
1 2 3 4 5 6 7 | RenderReportToFile(
reportFilePath,
format = "html_fragment",
outputFilePath = NULL,
outDir = dirname(reportFilePath),
...
)
|
reportFilePath |
Path to the source RMarkdown file. Required. |
format |
Output format of the report. Optional. Default = |
outputFilePath |
Path to the output file. Optional. Default = |
outDir |
Output directory. Temporary directory is used if |
... |
Additional arguments passed to render. Optional. |
File name of the generated report
rmarkdown
1 2 3 4 5 6 | ## Not run:
RenderReportToFile(
filePath,
params = list(AdjustedData = data.table::data.table(A = c(1, 2), B = c(3, 4))))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.