Running Code
- The keyboard shortcuts
Ctrl/Cmd + Enterto run the current R expression in the console. The cursor will move to the next code block.Ctrl/Cmd + Shift + Sto run the entire script.
- Tip: Always start your script with the packages you need, but do not include
install.packages()in a script you plan on sharing.