Skip to content

uni-mannheim-qm-2020/qm-2020

Repository files navigation

Welcome to Quantitative Methods 2020!

Welcome to the course Quantitative Methods at the University of Mannheim. In this course we will use the open-source software R and RStudio. Before we get started with the lecture on Wednesday, we would like you to install both R and RStudio on your computer. In this document we provide you with detailed instructions to install these programs. If you have any problems getting R and RStudio running, do not hesitate to drop us an email (Marcel or Oliver).

To facilitate an efficient workflow, we will integrate Github into the course. By now, you should have already received an invitation mail.

What is R?

R is a programming language designed to help you perform statistical analysis, create graphics, and later on write your own statistical software. R is becoming increasingly popular and knowledge of R will help you in the job market. R is probably the most versatile statistical tool out there (and its free and open source so you can literally use it anywhere).

What is RStudio?

RStudio is very good graphical user interface for R and will be the program which we will use during the lab sessions. In recent years a growing number of features have been added to this graphical user interface, which makes it the preferred choice for learning R especially among beginners.

What are git and GitHub?

git is a version control system that makes it easy to track changes and work on code collaboratively. GitHub is a hosting service for git. You can think of it like a public Dropbox for code. As a student, you even get unlimited private repositories which you can use if you don’t feel like sharing your code with the rest of the world (yet). We will use it to distribute code and assignments to you. And you will use it to keep track of your code and collaborate in teams.

Installing R and RStudio

a) Instructions for Windows users

  1. Install R

    1. Open your browser and go to https://cran.rstudio.com.
    2. Click on "Download R for Windows".
    3. Click on "base".
    4. Click "Download R 4.0.2 for Windows" and save the executable file on your computer.
    5. Run the .exe file and follow the installation instructions.
    6. Now that R is installed, you need to download and install RStudio.
  2. Install RStudio

    1. Go to www.rstudio.com and click on the "Download" button on the top bar.
    2. Scroll down and click on the "Download" button for the free RStudio Desktop version.
    3. Click on "Download RStudio for Windows" and save the executable file on your computer.
    4. Run the .exe file and follow the installation instructions.

b) Instructions for Mac users

  1. Install R

    1. Open your browser and go to https://cran.rstudio.com.
    2. Click on "Download R for (Mac) OS X".
    3. Click on "R-4.0.2.pkg" and save the file on your computer.
    4. Run the .pkg file and follow the installation instructions.
    5. Now that R is installed, you need to download and install RStudio.
  2. Install RStudio

    1. Go to www.rstudio.com and click on the "Download" button on the top bar.
    2. Scroll down and click on the "Download" button for the free RStudio Desktop version.
    3. Click on "Download RStudio for Mac" and save the .dmg file on your computer.
    4. Double-click on the .dmg file to open it and drag and drop the RStudio Icon to your applications folder.

Getting a GitHub account

  1. Follow the instructions in the email we sent you.

Installing git on your computer

  1. Go to https://git-scm.com/downloads and click on your operating system.
  2. Follow the instructions and install git.
  3. Open RStudio.
  4. In the lower left pane click on Terminal.
  5. Type git and hit Enter.
  6. If you get an overview of the usage of git and several git commands, everything worked fine and you are all set for Week 01.
  7. If you don't see what is described under 6. please email us (Marcel or Oliver) as soon as possible!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages