View source: R/reporting-render-md.R
renderFile | R Documentation |
This has the possibility to save output in a log file, and saving also session information.
renderFile(input, encoding = "UTF-8", params = NULL, logFile = NULL, ...)
input |
Input file to be rendered. |
encoding |
String with encoding, 'UTF-8' by default. |
params |
List with input parameters for this document. |
logFile |
(optional) String with path to a log file, where output (also error/messages/warnings) should be stored. If specified, the entire output is re-directed to this file. |
... |
Any extra parameters passed to |
Note: this function is inspired from xfun::Rscript_call
Output of the function with additional attribute: 'sessionInfo' containing the details of the session information. If the report fails, an error message is returned.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.