Exercise: R

Exercise: R#

R in supercomputers#

Timing

45 min

Goals

  • Get to know the r-env R environment on Puhti

  • Running R code interactively and as a batch job

  • Try out different ways of parallelizing R code

Prerequisites

R exercise materials in Geocomputing Github

  • Interactive working

  • Simple batch job

  • Parallel job with future library

  • Additionally, you can check out some of the other R examples in CSC geocomputing repository.

Key points

  • Puhti web interface enables working with RStudio interactively

  • future can be used for parallelization