Describe chunk structure (#325)
This commit is contained in:
parent
f0ba226d5f
commit
4df1dc8f62
|
@ -168,7 +168,7 @@ Obviously, I'd recommend you learn the keyboard shortcut. It will save you a lot
|
|||
|
||||
You can continue to run the code using the keyboard shortcut that by now (I hope!) you know and love: Cmd/Ctrl + Enter. However, chunks get a new keyboard shortcut: Cmd/Ctrl + Shift + Enter, which runs all the code in the chunk. Think of a chunk like a function. A chunk should be relatively self-contained, and focussed around a single task.
|
||||
|
||||
The following sections describe the chunk header which consists of ```` ```{r ````, followed by an optional chunk name, followed by comma separated options, followed by ```` ``` ````.
|
||||
The following sections describe the chunk header which consists of ```` ```{r ````, followed by an optional chunk name, followed by comma separated options, followed by `}`. Next comes your R code and the chunk end is indicated by a final ```` ``` ````.
|
||||
|
||||
### Chunk name
|
||||
|
||||
|
|
Loading…
Reference in New Issue