Preparing Your Computer

Overview

Before you begin the semester, there are a number of things that you should do to help set yourself up for success. All of the applicable sections below should be completed before our first class on February 1st.


Computer Prep

Please work through the following steps:

  1. Make sure your operating system is up-to-date. If you are able, I would also recommend upgrading your computer to the most recent release of its operating system that the computer can run.

    • On macOS, you can do this through the App Store. The one exception is upgrading to Big Sur. I have not yet done so and, if you have not either, I recommend holding off. I will not be testing out our course materials with Big Sur this semester.
    • Both Windows 7 and Windows 10 have system update tools, though if you have Windows 7, you should consider upgrading to Windows 10.
  2. We’ll be sharing computer files throughout the semester, so you should ensure that you have functioning anti-virus software and that it is up-to-date.

  3. You’ll also need to download files, so you’ll need to make sure you have at least twenty gigabytes free if you are not. If you’re not sure how to check this, here are some instructions for Windows and macOS.

    • Options for de-cluttering include deleting files that are no longer needed, moving files to an external device, moving files to a cloud storage system, or upgrading the internal hard drive (may not be possible for macOS users and some Windows users).
  4. Make sure you know how to access your computer’s file management system.

    • On macOS, this means being comfortable with Finder.app for finding folders, making new ones, and opening files. Here are some tips for using Finder on recent versions of macOS.
    • On Windows, this means being comfortable with Windows File Explorer for finding folders, making new ones, and opening files. Here are some tips for using File Explorer on Windows 7 or Windows 10.

R

Base R

You can download R from its website. Choose “Download R for (Mac) OS X” or “Download R for Windows”. Windows users should look for text that says “install R for the first time” and click the base to the left of that text. Both macOS and Windows users should install R version 4.0.3, known as “Bunny-Wunnies Freak Out” (R version nicknames come from Peanuts).

If you already have R installed, please make sure you have the latest version. You can upgrade it using the same process for a new installation.

RStudio

RStudio is a graphical user interface for R that will make learning the language and using it much, much easier. You should download the free version of RStudio from their website. Choose the appropriate installer for your platform. Make sure R is already installed before installing RStudio.

If you already have RStudio installed, please make sure you have the latest version. You can upgrade it using the same process for a new installation.

R Packages

The packages we will need this semester can be downloaded using the following code chunk in RStudio’s console:

install.packages(c("tidyverse", "here", "janitor", "knitr", "leaflet",
  "mapview", "measurements", "naniar", "RColorBrewer", "remotes", "rmarkdown",
  "sf", "testDriveR", "tidycensus", "tigris", "tmap", "viridis", "webshot"))

You should only have to run this once per computer. If you are not sure where to find the console, don’t worry - we’ll talk about this on the first day of class!

PhantomJS

PhantomJS is a means for creating “headless” web-browsers and thus rendering the output of HTML widegts in knitr documents. It makes it possible to get a screengrab of a leaflet map when you “knit” your .Rmd files, for instance. To install it, use the following code chunk in RStudio’s console:

webshot::install_phantomjs()

Like installing packages, you should only have to run this once per computer. Again, if you’re not sure about using the console, don’t worry - we’ll talk about this on the first day of class!


Get Started with GitHub

The service that is hosting this website is called GitHub. GitHub is used by programmers, data scientists, and researchers for hosting computer code, data, and project materials (like websites). We will be using GitHub extensively this semester. You will need a free account, which you can sign up for one from GitHub’s homepage. If you already have a GitHub account, you do not need a new one.

Once you have a GitHub user name, send Chris an email with it so that you can be added to the SOC 4650 & SOC 5650 organization. After you have been added to the organization, you should find your assignments repository and check the Issues tab. There should be an open Issue describing how feedback will be disseminated this semester. Please read it and then close the issue so that we know you’ve seen it.


GitHub Desktop

In addition to the applications above, everyone will need a local installation of GitHub Desktop, which is a graphical user interface for accessing Git and GitHub.com. It can be downloaded for free from the application’s website. You will need to download and run the installer. Once it is complete, you will need to login to the application with your GitHub.com username and password.

Previous
Next