## 1.5 Code Editor

Code editor is located at the top left window in RStudio. If it is not shown you can *File > New File > R Script.

In the code editor, type the code and clickRun’’ on the top right of the window. Then you can see the code will be copied to the interactive console.