knitr::opts_chunk$set(echo = FALSE)
# rmdhelp::show_knit_hook_call()
knitr::knit_hooks$set(hook_convert_odg = rmdhelp::hook_convert_odg)

Types of Document Creation

Two fundamentally different ways to create a document

  1. "What You See Is What You Get" (WYSIWYG) - Word ...
  2. Command-based formatting in source file to produce different types of output - LaTeX, RMarkdown

Advantage of

Resources for RMarkdown

Workflow

#rmdhelp::use_odg_graphic(ps_path = 'odg/rmd-workflow.odg')
knitr::include_graphics(path = "odg/rmd-workflow.png")

Getting Started

Open a file in RStudio

#rmdhelp::use_odg_graphic(ps_path = 'odg/rmd-openfile.odg')
knitr::include_graphics(path = "odg/rmd-openfile.png")

RMarkdown Syntax

#rmdhelp::use_odg_graphic(ps_path = 'odg/rmd-syntax.odg')
knitr::include_graphics(path = "odg/rmd-syntax.png")

RMarkdown Syntax II

#rmdhelp::use_odg_graphic(ps_path = 'odg/rmd-syntax2.odg')
knitr::include_graphics(path = "odg/rmd-syntax2.png")


charlotte-ngs/lbgfs2020 documentation built on Dec. 20, 2020, 5:39 p.m.