render_rmd_server: wrapper function of rmarkdown::render for opencpu

Description Usage Arguments Value See Also Examples

View source: R/rmdtext.R

Description

Three general wrapper function to work with opencpu, which can render source r markdown code into html files, to be displacyed on the client end

Usage

1

Arguments

rmd_file

For render_rmd_server, a string of the file name on the same opencpu server in the same package, only for tests

Value

no direct return, but write an output.html to the temp session on the opencpu server

See Also

render knit

Examples

1
2
  path_to_input <- system.file("rmd", rmd_file, package = "rmdocpu")
  render_rmd_server(path_to_input)

ningzhibin/rmdocpu documentation built on Feb. 3, 2022, 9:30 p.m.