One-day R workshop

Sep 14th, 2016

9:00 am - 04:00 pm

Instructors: Dmytro Perepølkin, Christian Wilhelm Mohr, Raoul Wolf, Anne Fouilloux

Helpers: Oleg Agafonov, Raoul Wolf, Chakri Kanduri

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 one-day Carpentry@UiO hands-on workshop will cover the Programming with R lesson of Software Carpentry.

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 tools 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:

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.

Registration: Please register using this form.

Contact: Please mail contact-us@swcarpentry.uio.no for more information.


Schedule

09:00 Learn RStudio environment
09:30 Introduction to R
10:25 Coffee/tea 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/tea break
14:50 Data visualisation
15:50 Wrap-up

Etherpad: http://pad.software-carpentry.org/2016-09-14-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.