Rstudio and Jupyter Notebooks at CSC

All material (C) 2022-2023 by CSC -IT Center for Science Ltd. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License, http://creativecommons.org/licenses/by-sa/4.0/

Why Use Jupyter/Rstudio?

  • Easy-to-use, “familiar”
  • Visually pleasing interfaces
  • Interactivity
  • Hides complexity

Why Use CSC Services for Jupyter/RStudio?

  • Free-of-charge (for Finnish higher education and research institutes)
  • Resource availability and their scalability
  • Easy-to-use services
  • Customization possibilities
  • Reproducibility of environment
  • Same environment for all students
  • CSC specialist support

CSC’s Options for Teaching R/Python-based Courses

Puhti Web Interface

Puhti web interface: Access some of applications on Puhti via browser

CSC Notebooks

CSC notebooks: Easy-to-use applications for courses/collaborations

Rahti Container Cloud

Rahti container cloud: Containers-as-a-service platform at CSC

Making Custom Jupyter Notebooks on Puhti Web Interface

  • Existing Jupyter notebooks can be launched easily on Puhti Web Interface
  • Custom notebooks require:
    • Installing necessary python packages using Tykky
    • Creating a course environment/module(s) using CSC templates
    • Access custom notebook on Puhti web interface via “Jupyter for courses” under “Interactive Sessions”
  • Useful CSC documentation:

Container Solutions for Rstudio

  • Existing Rstudio on Puhti can be launched easily on Puhti Web Interface
  • Custom installations can be started from Docker images in DockerHub
    • rocker/r-ver: Base R installation
    • rocker/rstudio: Base R + RStudio Server installation
    • rocker/tidyverse: Base R + RStudio Server + tidyverse packages installation
    • rocker/shiny: Base R with Shiny Server (open source edition)
  • Lanching custom Rstudio from containers is bit involved in HPC systems as one should abide by the rules of HPC