-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.installing_r.qmd
27 lines (19 loc) · 2.16 KB
/
1.installing_r.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: "1. Installing R"
format:
html:
code-copy: true
toc-location: right
editor: visual
---
## Video Tutorial
To get started with this tutorial visit the [RStudio download](https://posit.co/download/rstudio-desktop/ "download R and R Studio") page
```{=html}
<div style="max-width:608px"><div style="position:relative;padding-bottom:66.118421052632%"><iframe id="kaltura_player" src="https://cdnapisec.kaltura.com/p/1674401/sp/167440100/embedIframeJs/uiconf_id/23435151/partner_id/1674401?iframeembed=true&playerId=kaltura_player&entry_id=1_d3tz0oci&flashvars[streamerType]=auto&flashvars[localizationCode]=en&flashvars[sideBarContainer.plugin]=true&flashvars[sideBarContainer.position]=left&flashvars[sideBarContainer.clickToClose]=true&flashvars[chapters.plugin]=true&flashvars[chapters.layout]=vertical&flashvars[chapters.thumbnailRotator]=false&flashvars[streamSelector.plugin]=true&flashvars[EmbedPlayer.SpinnerTarget]=videoHolder&flashvars[dualScreen.plugin]=true&flashvars[LeadWithHLSOnFlash]=true&flashvars[Kaltura.addCrossoriginToIframe]=true&&wid=1_k1fiqf3d" width="608" height="402" allowfullscreen webkitallowfullscreen mozAllowFullScreen allow="autoplay *; fullscreen *; encrypted-media *" sandbox="allow-downloads allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation" frameborder="0" title="1_installing_R" style="position:absolute;top:0;left:0;width:100%;height:100%"></iframe></div></div>
```
## Installing R and RStudio
To use R, we need R, the underlying language that runs our code, as well as R studio, an integrated development environment (IDE) that allows us to save files and edit and run code.
To get started, we'll visit [RStudio's homepage](https://posit.co/download/rstudio-desktop/ "Download R and RStudio") to install R.
First, Install R for your operating system from [CRAN](https://cran.rstudio.com/).
Then download the [latest version](https://download1.rstudio.org/electron/macos/RStudio-2023.06.1-524.dmg) of RStudio and open it.
##