Learn R Programming

rqti (version 1.0.0)

render_opal: Render Rmd directly in Opal via API

Description

Render Rmd directly in Opal via API

Usage

render_opal(input, ...)

Value

A list with the key, display name, and URL of the resource in Opal.

Arguments

input

(the path to the input Rmd document)

...

required for passing arguments when knitting

Details

Customize knit function in the Rmd file using the following YAML setting after the word knit knit: rqti::render_opal.

Examples

Run this code
if (FALSE) { # interactive()
file <- system.file("exercises/sc1.Rmd", package='rqti')
render_opal(file)
}

Run the code above in your browser using DataLab