diff --git a/modules/Basic_R/Basic_R.Rmd b/modules/Basic_R/Basic_R.Rmd index ebbe5e1e..8ebf761f 100644 --- a/modules/Basic_R/Basic_R.Rmd +++ b/modules/Basic_R/Basic_R.Rmd @@ -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 @@ -400,6 +408,16 @@ library(tidyverse) knitr::include_graphics("../../images/lol/install_packages.jpg") ``` +## RStudio Shortcuts + +| | Windows | Mac | +|-----------------------------------|---------|----------| +| Insert assignment operator (`<-`) | Alt+- | Option+- | + +

+ +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 diff --git a/resources.Rmd b/resources.Rmd index d8775735..d2432cad 100644 --- a/resources.Rmd +++ b/resources.Rmd @@ -58,7 +58,7 @@ Here are additional resources to help you on your R journey - either before, dur
**Keyboard Shortcuts**
-- RStudio shortcuts can be found [here]() +- 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)