© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
W. YarberryCRAN Recipeshttps://doi.org/10.1007/978-1-4842-6876-6_20

20. Shortcuts and Miscellaneous

William Yarberry1  
(1)
Kingwood, TX, USA
 

20.1 RStudio

You can certainly use notepad or base R to write your scripts, in the same sense as a dog could walk on his hind legs to get places. It works but not well. RStudio is built for the purpose of efficient, effective, and beginner-friendly script coding.

Some simple shortcuts:
  • Ctrl-Shift-R creates a section label, which is nothing more than a consistently formatted comment. Unless you enter a large number of words, the length of the comment is always the same. If you use it consistently in your code, it serves as ...

Get CRAN Recipes: DPLYR, Stringr, Lubridate, and RegEx in R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.