R4DS Ch. 27

print()

{base}

prints argument

opts_chunk$set()

{knitr}

set knitr code chunk options

[text1](text2)

markdown linked phrase

**text** or __text__

markdown bold

output:

YAML syntax for output type

kable()

{knitr}

create knitr table

r

R markdown inline code

{r}

R markdown code chunk

# Text

markdown header 1

params:

YAML syntax for document parameters

![text1](text2)

markdown image and alt text

now()

{lubridate}

return current date and time

file.info()

{base}

extract file information

bibliography:

YAML syntax for bibliography file

text

markdown code formatting

1. text

markdown numbered list

results

code chunk option to not show output

cache

code chunk option to cache results

format()

{base}

format object for pretty printing

^1^

markdown superscript

<text>

markdown linked URL

* text

markdown bulleted list

eval

code chunk option to run code and show output

~2~

markdown subscript

render()

{rmarkdown}

convert R markdown document to another format

*text* or _text_

markdown italics

clean_cache()

{knitr}

clear out code chunk cache

### Text

markdown header 3

echo

code chunk option to not show code

csl:

YAML syntax for CSL file

## Text

markdown header 2

The end!