Find us on GitHub

University of Oslo

May 10, 2016

9:00 am - 4:00 pm

Instructors: Carrie Andrew, Christian Wilhelm Mohr

Helpers: Anne Fouilloux, Unni Vik, Lex Nederbragt

General Information

Software Carpentry's mission is to help scientists and engineers get more research done in less time and with less pain by teaching them basic lab skills for scientific computing. This hands-on, Software Carpentry-inspired workshop will cover basic concepts and tools, including program design, in the R langauge. Participants will be encouraged to help one another and to apply what they have learned to their own research problems.

For more information on what we teach and why, please see our paper "Best Practices for Scientific Computing".

Who: The course is aimed at graduate students and other researchers. You don't need to have any previous knowledge of the R programming language that will be presented at the workshop.

Where: Room 1259 (Abels utsikt), Niels Henrik Abels hus, Moltke Moes vei 35, 0851 Oslo. Get directions with OpenStreetMap or Google Maps.

Requirements: Participants must bring a laptop with a Mac, Linux, or Windows operating sytem (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below). They are also required to abide by Software Carpentry's Code of Conduct.

Accessibility: We are committed to making this workshop accessible to everybody. The workshop organisers have checked that:

  • The room is wheelchair / scooter accessible.
  • Accessible restrooms are available.

Materials will be provided in advance of the workshop and large-print handouts are available if needed by notifying the organizers in advance. If we can help making learning easier for you (e.g. sign-language interpreters, lactation facilities) please get in touch and we will attempt to provide them.

Contact: Please mail contact-us@swcarpentry.uio.no for more information. To register, click here.


Schedule

09:00 Learn RStudio environment
09:30 Introduction to R
10:25 Coffee break
10:50 Starting with Data
11:05 Subsetting data
12:00 Lunch break
13:00 Creating functions
13:35 Control flow
14:35 Coffee break
14:50 Data visualisation
15:50 Wrap-up

Etherpad: http://pad.software-carpentry.org/2016-05-10-R.
We will use this Etherpad for chatting, taking notes, and sharing URLs and bits of code.


Syllabus

Programming in R

  • Learn RStudio environment
  • Introduction to R
  • Starting with Data
  • Subsetting data
  • Creating functions
  • Control flow
  • Data visualisation
  • Reference...

Setup

To participate in a Software Carpentry workshop, you will need access to the software described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

R

R is a programming language that is especially powerful for data exploration, visualization, and statistical analysis. To interact with R, we use RStudio.

Windows

Video Tutorial

Install R by downloading and running this .exe file from CRAN. Also, please install the RStudio IDE.

Mac OS X

Video Tutorial

Install R by downloading and running this .pkg file from CRAN. Also, please install the RStudio IDE.

Linux

You can download the binary files for your distribution from CRAN. Or you can use your package manager (e.g. for Debian/Ubuntu run sudo apt-get install r-base and for Fedora run sudo yum install R). Also, please install the RStudio IDE.