render_rmd_server: Render the given R Markdown file _on the server_

render_rmd_serverR Documentation

Render the given R Markdown file on the server

Description

Render the given R Markdown file on the server

Usage

render_rmd_server(
  file,
  data = list(),
  runtime = "static",
  quiet = TRUE,
  precompiled_path = NULL,
  section_divs = FALSE,
  md_extensions = "+tex_math_dollars",
  df_print = "kable",
  ...,
  show_only_with_section = TRUE,
  hasher = NULL
)

Arguments

file

path to the RMarkdown file

data

a list of data to be made available to the Rmd file during rendering. Quoted items will be evaluated on the server before knitting the Rmd file. Quoted expressions are evaluated in the server context.

runtime, quiet

arguments passed on to rmarkdown::render().

precompiled_path

path where precompiled HTML files are located (if NULL, don't use precompiled HTML files). See precompile_rmd() how to precompile HTML files.

section_divs, md_extensions, df_print...

passed on to rmarkdown::html_fragment().

show_only_with_section

render the output only if the section is visible.

hasher

function to compute the unique hash for the input data. Only used if precompiled_path is not NULL.

Value

the UI output element


dakep/stat305templates documentation built on Nov. 27, 2022, 8:23 a.m.