View source: R/RenderReportToFile.R
RenderReportToFile | R Documentation |
Creates a report from a specified RMarkdown file.
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
## 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.