Chapter 5 Add code

  • Evaluate code chunks
  • Add chunks (keyboard shortcut Ctrl + Alt + I (OS X: Cmd + Option + I))
  • Inline code
  • Why name chunks?

Your turn


Try updating your preferences for the RStudio code outline pane to include all or only named code chunks, if you like! You can also make the document outline show by default every time you open a file.