Learn R Programming

adapr (version 2.0.0)

renderRmd: Renders and Rmarkdown file

Description

Renders and Rmarkdown file

Usage

renderRmd(Rmd.file, description = "Rmarkdown", ...)

Arguments

Rmd.file

Filename of .Rmd file within the R Markdown directory (source_info$markdown.dir)

description

of rendered file

...

extra arguments for rmarkdown::render

Value

Rendered output file information

Details

Not for direct use. Uses rmarkdown library to access objects in the R script. Will track dependencies for objects used within Rmd file.

Examples

Run this code
# NOT RUN {
source_info <- create_source_file_dir("adaprHome","read_data.R")
renderRmd("read_data.Rmd")
# }

Run the code above in your browser using DataLab