Course sections

What is R?, Lecture 6

GUI of RStudio

RStudio is a free and open-source integrated development environment (IDE) for R, a programming language for statistical computing and graphics. RStudio is an integrated development environment (IDE) that allows you to interact with R more readily. RStudio is similar to the standard RGui, but is considerably more user friendly. It has more drop-down menus, windows with multiple tabs, and many customization options. The first time you open RStudio, you will see three windows. A forth window is hidden by default, but can be opened by clicking the File drop-down menu, then New File, and then R Script.. Detailed information on using RStudio can be found at at RStudio’s Website.

RStudio was founded by JJ Allaire, creator of the programming language ColdFusion. Hadley Wickham is the Chief Scientist at RStudio.
RStudio is available in two editions: RStudio Desktop, where the program is run locally as a regular desktop application; and RStudio Server, which allows accessing RStudio using a web browser while it is running on a remote Linux server. Pre-packaged distributions of RStudio Desktop are available for Windows, macOS, and Linux. RStudio is available in open source and commercial editions and runs on the desktop (Windows, macOS, and Linux) or in a browser connected to RStudio Server or RStudio Server Pro.


Code Editor: This is the input window where we script codes and give instruction to R. Every objects, functions, programs are scripted in this window for execution. In order to execute a code in the code editor, one has to write the code and keep the cursor in the same line and hit CTRL + ENTER together or one can also click on the run button present on the top right-hand side of the Editor window.
• Workspace & History: This window is responsible for keeping a track of all the objects and program that is created in R. Generally it is an index window which shows all the variables, programs, functions, data etc… That is created and in use by the user.
• R console: It is the output window the GUI. It gives the output, result, message of syntax error and much other information related to the programming. The windows, Editor and console make it interactive software.
• Plots & Files: This window lists out all the files available in the system, and also the configuration files of this software. There are a total of five tabs under this window, and each has its own importance. Packages lists out the available packages in this platform. Plot shows the graphical representations or charts.

Code Editor: This is the input window where we script codes and give instruction to R. Every objects, functions, programs are scripted in this window for execution. In order to execute a code in the code editor, one has to write the code and keep the cursor in the same line and hit CTRL + ENTER together or one can also click on the run button present on the top right-hand side of the Editor window.
• Workspace & History: This window is responsible for keeping a track of all the objects and program that is created in R. Generally it is an index window which shows all the variables, programs, functions, data etc… That is created and in use by the user.
• R console: It is the output window the GUI. It gives the output, result, message of syntax error and much other information related to the programming. The windows, Editor and console make it interactive software.
• Plots & Files: This window lists out all the files available in the system, and also the configuration files of this software. There are a total of five tabs under this window, and each has its own importance. Packages lists out the available packages in this platform. Plot shows the graphical representations or charts.

WhatsApp chat