0% found this document useful (0 votes)
5 views5 pages

Getting Started With R

Data Analysis 1

Uploaded by

Võ Như Tú Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Getting Started With R

Data Analysis 1

Uploaded by

Võ Như Tú Anh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Getting started with R

Data Analysis 1
2025

Ignace De Vos
[Link]@[Link]

1
Installing R
You can download R at [Link] You can choose your own operating
system and proceed with the instruction (see figure below).

For instance, if you have a Windows OS, you can click “Download R for Windows” and then
install the “base” version (see figure below).

Finally, click “Download R 3.4.3 for Windows” and the download will start (see figure below).

2
First steps
Once R is installed, you can run it and the following screen will appear. The R console executes the
command you type in. You could directly work on the R console but this is not very convenient.
The best way to proceed is to create an R script, write the code on the R script and then run the
code on the R console.

You can create an R script with “File” and then “New script”. This what you will get:

3
You can now write your code on the script. To run the code you can select the code you want
to run, right click of the mouse, and then “Run line or selection”.

R will automatically execute the command (in this case exp(10)) on the R console, see figure
below.

4
You can save the script with your R code with “File” and then “Save”.
If you prefer to use R studio instead of R, the steps are very similar. Note that R and R studio
are the same (same code), the only difference is that R studio has a more “user friendly” interface
than R. Also remember that R studio requires R to be installed!

You might also like