Gettin’ giffy wit it.
RStudio has some wonderful features! Here are some tips and tricks for new learneRs to get started with regards to customizing your interface, getting started with R Markdown, and a bit of troubleshooting.
Gif’s were captured in May 2019, likely with RStudio version 1.2.1335-1. Keyboard shortcuts are for Windows users, Mac users may differ. For Windows users, I also recommend changing your default settings to show file extensions.
And if you are not familiar with it, please allow me introduce you to Will Smith’s 1998 hit “Gettin’ Jiggy Wit It.” 🎵Na na na na na na na nana 🎵
Tools -> Global Options -> Panel Layout
View -> Zoom in / Zoom out / Actual size
Tools -> Global Options -> Appearance
Tools -> Global Options -> Code -> Display -> Show margin -> Margin column 80
Consider placing a margin column at 80 characters as a reminder for code formatting. Keeping code within 80 characters can make it easier to read when switching displays or sharing code.
File -> New file -> R Markdown
or -> R Markdown
or Ctrl + Alt + I
Chunk names allow you to quickly navigate code, automatically name figures, and troubleshoot errors. Chunk names must be unique! If no name is provided, a default numbered chunk name will be assigned.
or Ctrl + Enter
Let your markdown breathe! If something doesn’t look right, try adding white space.
Thumbnail artwork adapted from @allison_horst
.
The phrase IDE
was removed from the title and body of this post on Sep. 8, 2020 per @TrashBirdEcol
’s suggestion.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Pileggi (2020, Sept. 7). PIPING HOT DATA: Introducing RStudio and R Markdown. Retrieved from https://www.pipinghotdata.com/posts/2020-09-07-introducing-the-rstudio-ide-and-r-markdown/
BibTeX citation
@misc{pileggi2020introducing, author = {Pileggi, Shannon}, title = {PIPING HOT DATA: Introducing RStudio and R Markdown}, url = {https://www.pipinghotdata.com/posts/2020-09-07-introducing-the-rstudio-ide-and-r-markdown/}, year = {2020} }