Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions modules/Basic_R/Basic_R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ For now, we will be working in the **Console** (Pane 1 )
knitr::include_graphics("../RStudio/images/three_panes.png")
```

## FYI: Changing R versions

Check your R version.

You might change it later today if you aren't up to date with us.

Go to Tools > Global Options > General. Next to "R version", click Change, choose the newest version from the list, click Apply, and restart RStudio. ([1](https://www.listendata.com/2015/08/how-to-update-r-software.html), [2](https://bioinformatics.ccr.cancer.gov/docs/rtools/R%20and%20RStudio/2.6_switching_r_version/), [3](https://r-coder.com/update-r/), [4](https://www.wikihow.com/Update-R))

## R as a calculator

- The R console is a full calculator
Expand Down Expand Up @@ -400,6 +408,16 @@ library(tidyverse)
knitr::include_graphics("../../images/lol/install_packages.jpg")
```

## RStudio Shortcuts

| | Windows | Mac |
|-----------------------------------|---------|----------|
| Insert assignment operator (`<-`) | Alt+- | Option+- |

<br><br>

More soon! See shortcuts [here](https://support.posit.co/hc/en-us/articles/200711853-Keyboard-Shortcuts-in-the-RStudio-IDE).

## Summary

- R functions as a calculator
Expand Down
2 changes: 1 addition & 1 deletion resources.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Here are additional resources to help you on your R journey - either before, dur

<details><summary> <span style = "color: #5383bb;"> **Keyboard Shortcuts**</span></summary><br>

- RStudio shortcuts can be found [here](<http://www.rstudio.com/ide/docs/using/keyboard_shortcuts>)
- RStudio shortcuts can be found [here](https://support.posit.co/hc/en-us/articles/200711853-Keyboard-Shortcuts-in-the-RStudio-IDE)
- Shortcut for the `%in%` operator can be found [here](https://stackoverflow.com/questions/58714081/is-there-a-shortcut-for-in)

</details>
Expand Down
Loading