Jeff Hung
Data scientist of the Institute of Manufacturing Information and Systems of National Cheng Kung University
Gmail
LinkedIn
Github
Polab
Install R
- To download R, visit official site of R - http://www.r-project.org/.
- Click CRAN located at the left hand side of the page.
- Choose your country and click on the link available for your location.
- Click Download R for Windows (For Windows). There are also OS X (Mac) and Linux versions.
- Click base
- Click Download R for Windows again (For Windows)
Follow the steps shown in the image below.
Install R Studio
- To download R Studio, visit official site of R Studio - https://www.rstudio.com/.
- Click Download located at the left hand side of the page.
- Click Download R for Windows (For Windows). There is also OS X (Mac) version.
Follow the steps shown in the image below.
R Studio Interface
Interface
- Open R Studio you’ll first see this interface.
- Click the icon located at the top left hand side and choose R Script to write your code.
- The image below shows the detail function of four main parts in R Studio.
Customizing R Studio
- Click the Tool option located at the top right hand side and choose Global Option to customize you R Studio.
- There are many options to change the interface. Here, we’ll introduce the Appearance and Pane Layout options. In Appearance option, you can choose your font size and theme (colors and background). In Pane Layout option, you can adjust the position of the main four parts. Changing the style of R Studio is only to make sure you can programming with a comfortable interface.
- This is the interface that I chose to write my code.
If you wish to look at more detail about this part, you can click Customizing R Studio.