Day 0: Installing Software
This course teaches students how to think programatically and use computational approaches to explore and address social scientific questions. Much of computer programming involves translating what you wish to do into a set of computational instructions. Think of human languages: languages conform to specific sets of grammatical and syntax rules which define how to interpret elements of speech such as nouns, verbs, and adjectives. Some languages have simple rules and are (relatively) easy to learn; others follow more complex rules that require greater effort in order to gain fluency.1 Some languages derive from a common source and therefore share many similarities that make it easier to learn a second language within the same family of languages. So a native Spanish speaker will find it easier to learn French rather than Chinese, because French and Spanish share many grammatical rules and root derivations of words whereas Chinese and Spanish do not. Regardless, these are all perfectly usable languages humans use to communicate with one another.
In this course, we will learn how to use R for computational analysis.
To do
Before we can do any of this, we need to install all the necessary software and get it setup and working.
Option 1 - use RStudio Workbench
If you want to avoid installing anything on your computer and access R and RStudio through your web browser, follow these instructions.
- R
- Git
- What is Git?
- Register a free GitHub account. As a university student, also check to see if you are eligible for GitHub Education offers. Some of these are very useful, such as unlimited private repositories. Remember that once you create a GitHub account, you are stuck with that username. Choose something professional and start building a positive social media presence.
- Configure Git
- Using Git within RStudio
Option 2 - install the software locally
If you want to run R on your own computer, follow these instructions.
- Why R?
- Setup R
- Git
- What is Git?
- Installation
- Register a free GitHub account. As a university student, also check to see if you are eligible for GitHub Education offers. Some of these are very useful, such as unlimited private repositories. Remember that once you create a GitHub account, you are stuck with that username. Choose something professional and start building a positive social media presence.
- Install Git
- Install Git client
- Configure Git
- Using Git within RStudio
- Complete homework 01