rmdtext: 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

text

For rmdtext, a string, which is the rmardown coding itself

Value

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

See Also

render knit

Examples

1
2
3
  path_to_input <- system.file("rmd", rmd_file, package = "rmdocpu")
  myfile <- readLines(path_to_input)
  rmdtext(myfile)

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