<<<<<<< HEAD ======= >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e <<<<<<< HEAD ======= >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

In advance of the workshop

<<<<<<< HEAD

To participate in the workshop, please bring a laptop with R and RStudio installed. We recommend that you have the latest version of R (4.2.1 “Funny-Looking Kid”) and of the tidyverse package (1.3.1). Additionally, you need to have RStudio installed, but it is less crucial that you are using the most recent version.

Follow these steps to make sure you have R properly installed in advance of the workshop.

=======

To participate in the workshop, please bring a laptop with R and RStudio installed. We recommend that you have the latest version of R (4.1.2 “Bird Hippie”) and of the tidyverse package (1.3.1). Additionally, you need to have RStudio installed, but it is less crucial that you are using the most recent version.

Follow these steps to make sure you have R properly installed in advance of the workshop.

>>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

Do you already have R and RStudio installed?

“I do not have R installed”

You should install R, RStudio, and tidyverse.

Installing R

Windows:

  1. Go to https://cloud.r-project.org/bin/windows/base/
  2. <<<<<<< HEAD
  3. Click the “Download R 4.2.1 for Windows” link.
  4. When the file finishes downloading, double-click to install. You should be able to just click “Next” to all dialog boxes to finish the installation.
  5. =======
  6. Click the “Download R 4.1.2 for Windows” link.
  7. When the file finishes downloading, double-click to install. You should be able to just click “Next” to all dialog boxes to finish the installation.
  8. >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

Mac:

  1. Go to https://cloud.r-project.org/bin/macosx/
  2. <<<<<<< HEAD
  3. Click the link “R-4.2.1.pkg”
  4. When the file finishes downloading, double-click to install. You should be able to just click “Next” to all dialog boxes to finish the installation.
  5. =======
  6. Click the link “R-4.1.2.pkg”
  7. When the file finishes downloading, double-click to install. You should be able to just click “Next” to all dialog boxes to finish the installation.
  8. >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

Installing RStudio

<<<<<<< HEAD

Download RStudio Desktop https://www.rstudio.com/products/rstudio/download/#download. When the file finishes downloading, double-click to install. You should be able to click “Next” to all dialog boxes to finish the installation.

Installing tidyverse

Open RStudio. Go to Tools (at the top)…Install Packages. Enter tidyverse, then select Install.

=======

Download RStudio Desktop https://www.rstudio.com/products/rstudio/download/#download. When the file finishes downloading, double-click to install. You should be able to click “Next” to all dialog boxes to finish the installation.

Installing tidyverse

Open RStudio. Go to Tools (at the top)…Install Packages. Enter tidyverse, then select Install.

>>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

You are ready for the workshop!

“I have R installed”

The workshops run more smoothly when everyone is using the same version of R and tidyverse. Please update R and tidyverse, if necessary (and less crucially, RStudio).

Verify R version

<<<<<<< HEAD

Open RStudio. At the top of the Console you will see session info. The first line tells you which version of R you are using. If RStudio is already open and you’re deep in a session, type R.version.string to print out the R version.

Do you have R version 4.2.1 “Funny-Looking Kid” installed?

=======

Open RStudio. At the top of the Console you will see session info. The first line tells you which version of R you are using. If RStudio is already open and you’re deep in a session, type R.version.string to print out the R version.

Do you have R version 4.1.2 “Bird Hippie” installed?

>>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e
  • No - follow the instructions for “Updating R”
  • Yes - Great! Do you have tidyverse installed?
      <<<<<<< HEAD
    • No or I don’t know - See “Installing tidyverse”
    • Yes - Great! In Rstudio, go to Tools > Check for Package Updates. If there’s an update available for tidyverse, install it. You want tidyverse version 1.3.1.
    • =======
    • No or I don’t know - See “Installing tidyverse”
    • Yes - Great! In Rstudio, go to Tools > Check for Package Updates. If there’s an update available for tidyverse, install it. You want tidyverse version 1.3.1.
    • >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

Updating R/RStudio/Tidyverse

Windows:

<<<<<<< HEAD

To update R on Windows, try using the package installr (only for Windows). This installr tutorial is very helpful.

Make sure you have tidyverse 1.3.1 installed. Got to Tools (at the top)…Check for package updates. If tidyverse shows up on the list, select it, then click “Install Updates.”

=======

To update R on Windows, try using the package installr (only for Windows). This installr tutorial is very helpful.

Make sure you have tidyverse 1.3.1 installed. Got to Tools (at the top)…Check for package updates. If tidyverse shows up on the list, select it, then click “Install Updates.”

>>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

You are ready for the workshop!

Mac:

On Mac, you can simply download and install the newest version of R. When you restart RStudio, it will use the updated version of R.

  1. Go to https://cloud.r-project.org/bin/macosx/
  2. <<<<<<< HEAD
  3. Click the link “R-4.2.1.pkg”
  4. When the file finishes downloading, double-click to install. You should be able to click “Next” to all dialogs to finish the installation.
  5. From within RStudio, go to Help…Check for Updates to install newer version of RStudio (if available, optional).
  6. To update packages, go to Tools…Check for Package Updates. If updates are available, select All (or just tidyverse), and click Install Updates.

Make sure you have tidyverse 1.3.1 installed. Got to Tools (at the top)…Check for package updates. If tidyverse shows up on the list, select it, then click “Install Updates.”

=======
  • Click the link “R-4.1.2.pkg”
  • When the file finishes downloading, double-click to install. You should be able to click “Next” to all dialogs to finish the installation.
  • From within RStudio, go to Help…Check for Updates to install newer version of RStudio (if available, optional).
  • To update packages, go to Tools…Check for Package Updates. If updates are available, select All (or just tidyverse), and click Install Updates.
  • Make sure you have tidyverse 1.3.1 installed. Got to Tools (at the top)…Check for package updates. If tidyverse shows up on the list, select it, then click “Install Updates.”

    >>>>>>> cf8f96cf60d3a703bd9207f6b529692515f0222e

    You are ready for the workshop!