rend: Render an Rmd file in directory

Description Usage Arguments Details Value

Description

This function is a replacement for the 'knit' from RStudio, for cases where you're not working in RStudio.

Usage

1
rend(path = ".", format = "all")

Arguments

path

The path to search for .Rmd files.

format

The output formats. The default is '"all"', all formats listed in the file.

Details

Searches for all Rmd files below the 'path' and prompts for a selection of one to be rendered. File is rendered using default render formats, or as specified in 'format'. Once the file is rendered, it is opened in the browser. Opening in browser will fail for .docx.

Value

Nothing.


MilesMcBain/mmmisc documentation built on Aug. 4, 2020, 10:50 a.m.