Ignore this file for now, old template requires that it exisits to compile. — title: “Setup” teaching: 20 objectives:
- “Install R and RStudio”
- “Download the R script file for the workshop”
keypoints:
- “Install R”
- “Install RStudio”
-
“Download R script file to follow along”
Software setup
You will need to install R and RStudio to follow along during this workshop or access R and RStudio through the UIC Virtual lab. See instructions below
This workshop will take place over Zoom, please make sure you can use Zoom through the Desktop application or browser before the workshop. See instructions and tips below for participating in the workshop on Zoom.
R & RStudio
R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.
R and Rstudio are two separate installs and both are required to use R in RStudio. Install R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE. Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on .exe file and select "Run as administrator" instead of double-clicking). Otherwise problems may occur later, for example when installing R packages.
Video Tutorial
Install R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.
Video Tutorial
Instructions for R installation on various Linux platforms (debian,
fedora, redhat, and ubuntu) can be found at
<https://cran.r-project.org/bin/linux/>. These will instruct you to
use your package manager (e.g. for Fedora run
sudo dnf install R
and for Debian/Ubuntu, add a ppa
repository and then run sudo apt-get install r-base
).
Also, please install the
RStudio IDE.
Virtual Lab
If you would prefer not to install the software for this workshop on your computer, you may use the Virtual lab service run by Technology Services. This allows you to use a virtual machine either from your web browser or from a desktop app installed on your computer. Overall you may have a better experience using it from the desktop app, but the browswer should suffice for most workshops.
Install the videoconferencing client
If you haven't used Zoom before, go to the official website to download and install the Zoom client for your computer.
Set up your workspace
You will have the opportunity to code along with the Instructors. To do this, you will need to have both the window for the tool you will be learning about (a terminal, RStudio, your web browser, etc..) and the window for the Zoom video conference client open. In order to see both at once, we recommend using one of the following set up options:
- Two monitors: If you have two monitors, plan to have the tool you are learning up on one monitor and the video conferencing software on the other.
- Two devices: If you don't have two monitors, do you have another device (tablet, smartphone) with a medium to large sized screen? If so, try using the smaller device as your video conference connection and your larger device (laptop or desktop) to follow along with the tool you will be learning about.
- Divide your screen: If you only have one device and one screen, practice having two windows (the video conference program and one of the tools you will be using at the workshop) open together. How can you best fit both on your screen? Will it work better for you to toggle between them using a keyboard shortcut? Try it out in advance to decide what will work best for you.
Setup files:
Please download the following files to particpate in the workshop:
script
data files
About the Data Used in this Workshop:
The datasets used in this workshop are common “built-in” datasets in R, one called cars and another called colleges. This means that the datasets are already pre-loaded in R and do not need to be imported from another source (csv, excel etc.). In the workshop, you will learn how to interact with these datasets.