Learn R Programming

chronicle (version 0.3)

file_extension: Parse the file extension for each R Markdown output format

Description

Currently supports:

Usage

file_extension(file_type)

Arguments

file_type

R Markdown output formats.

Value

The file extension corresponding to the provided formats (".html", "pdf", ".md", ".docx", ".pptx")

Details

* rmdformats * prettydoc * bookdown * ioslides * tufte_html * xaringan * rolldown * flexdashboard * slidy_presentation * html_document * html_notebook * pagedown

Examples

Run this code
# NOT RUN {
file_extension(c('prettydoc', 'word_document', 'tufte_handout'))
# }

Run the code above in your browser using DataLab