Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup to include R windows update using the installr package #364

Merged
merged 2 commits into from
Oct 19, 2021
Merged
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
11 changes: 8 additions & 3 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ instructions to install **`tidyverse`**.
running. Alternatively, you can type `sessionInfo()`, which will also display
which version of R you are running. Go on
the [CRAN website](https://cran.r-project.org/bin/windows/base/) and check
whether a more recent version is available. If so, please download and install
it. You can [check here](https://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-UNinstall-R_003f) for
more information on how to remove old versions from your system if you wish to do so.
whether a more recent version is available. If so, you can update R using
the `installr` package, by running:

~~~
if( !("installr" %in% installed.packages()) ){install.packages("installr")}
installr::updateR(TRUE)
~~~
{: .language-r}

#### If you don't have R and RStudio installed

Expand Down