0
0
R Programmingprogramming~5 mins

RStudio IDE setup in R Programming - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is RStudio?
RStudio is a user-friendly interface for R programming. It helps you write, run, and debug R code easily.
Click to reveal answer
beginner
Name the main panels in the RStudio interface.
The main panels are: Source (where you write code), Console (where code runs), Environment/History (shows variables and past commands), and Files/Plots/Packages/Help (for managing files, viewing plots, packages, and help).
Click to reveal answer
beginner
How do you install RStudio on your computer?
First, install R from CRAN (https://cran.r-project.org). Then, download and install RStudio from https://posit.co/download/rstudio-desktop/. Follow the installation steps for your operating system.
Click to reveal answer
beginner
What is the purpose of the Console panel in RStudio?
The Console panel runs your R commands immediately. It shows results and error messages, helping you test and explore your code.
Click to reveal answer
beginner
How can you create a new R script in RStudio?
Click on File > New File > R Script. This opens a new tab where you can write and save your R code.
Click to reveal answer
Which panel in RStudio shows the variables you have created?
AFiles panel
BConsole panel
CEnvironment panel
DSource panel
Before installing RStudio, what must you install first?
APython
BGit
CJava
DR
How do you run a line of code in the Source panel?
APress Ctrl + Enter (Cmd + Enter on Mac)
BPress Ctrl + S
CClick File > Run
DDouble-click the line
Where can you find help documentation in RStudio?
AHelp panel
BConsole panel
CSource panel
DEnvironment panel
What file extension do R scripts usually have?
A.py
B.r
C.txt
D.js
Describe the steps to install and open RStudio on your computer.
Think about what you need before RStudio and where to get the software.
You got /4 concepts.
    Explain the purpose of the four main panels in RStudio.
    Imagine you are coding and need different views for writing, running, and checking your work.
    You got /4 concepts.