Reproduceerbaar Analyseren voor Praktijkgericht Onderzoek in R

DCC-PO

15 juni 2026

9:30 - 16.30 (inloop vanaf 9:00)

Instructors: Milou Huijsmans, Anne-Marie Borgers-van Boeckel

Helpers: Ruud Steltenpool, Marta Kargol

Informatie over The Carpentries

The Carpentries project comprises the Software Carpentry, Data Carpentry, and Library Carpentry communities of Instructors, Trainers, Maintainers, helpers, and supporters who share a mission to teach foundational computational and data science skills to researchers.

Want to learn more and stay engaged with The Carpentries? Carpentries Clippings is The Carpentries' biweekly newsletter, where we share community news, community job postings, and more. Sign up to receive future editions and read our full archive: https://carpentries.org/newsletter/

Library Carpentry is made by people working in library- and information-related roles to help you:

Glosario is a multilingual glossary for computing and data science terms. The glossary helps learners attend workshops and use our lessons to make sense of computational and programming jargon written in English by offering it in their native language. Translating data science terms also provides a teaching tool for Carpentries Instructors to reduce barriers for their learners.

To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.

Praktische informatie

Wie: Deze workshop is gericht op onderzoekers en ondersteuners van hogescholen die aangesloten zijn bij DCC-PO. Er is geen kennis vooraf nodig van R of RStudio.

Waar: De Haagse Hogeschool, ruimte Ov.5.93 (Johanna Westerdijkplein 75, 2521EN Den Haag). Navigeer met OpenStreetMap of Google Maps.

Wanneer: 15 juni 2026; 9:30 - 16.30 (inloop vanaf 9:00) Add to your Google Calendar.

Voorwaarden: Deelnemers moeten een laptop meenemen met een Mac, Linux, of Windows operating system (geen tablet, Chromebook, etc.) met een Software Center of administratieve rechten. De programma's R en RStudio moeten vooraf geinstalleerd zijn (zie hieronder).

Toegankelijkheid: Wij zijn toegewijd om deze workshop toegankelijk te maken voor iedereen. De organisatoren bevestigen dat:

Contact: Stuur een e-mail naar m.m.kargol@saxion.nl voor vragen of meer informatie.


Code of Conduct

Iedereen die deelneemt aan een Carpentries activiteit is verplicht om zich te houden aan de Code of Conduct.


Gedeelde notities

We zullen dit samenwerkingsbestand gebruiken voor het delen van notities, opdrachten, URL's en stukjes code.


Planning

Vooraf Pre-workshop survey
09:00 - 09:30 Inloop
09:30 - 10:50 Deel 1
10:50 - 11:00 Korte pauze
11:00 - 13:00 Deel 2
13:00 - 13:45 Lunch
13:45 - 15:00 Deel 3
15:00 - 15:10 Korte pauze
15:10 - 16:15 Deel 4
16:15 - 16:30 Afronding en Post-workshop survey

Installatie

Om deel te nemen aan een Library Carpentry workshop, heb je toegang nodig tot de onderstaande software. Daarnaast heb je een up-to-date internet browser nodig.

We onderhouden een lijst van veel voorkomende problemen tijdens installatie op de Configuration Problems and Solutions wiki pagina.


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

Install R by:

Using the Software Center (for work laptops) or:

  • Downloading and running this .exe file from CRAN.
  • Installing the RStudio IDE.

  • Note that if you have separate user and admin accounts, you should run the installers as administrator (right-click on .exe file and select "Run as administrator" instead of double-clicking). Otherwise problems may occur later, for example when installing R packages.

Install R by:

  • Navigating to CRAN and following the instructions outlined there, using your package manager. We have reproduced the commands below:
    Use the terminal command prompt to type/copy-and-paste these commands in, pressing Enter after each line to run the command.
    Do not run the lines with # at the start of each line, as this indicates a comment and is not part of the command.
        # update indices
        sudo apt update -qq
    
        # install two helper packages we need
        sudo apt install --no-install-recommends software-properties-common dirmngr
    
        # add the signing key for these repos
        wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
    
        # add the repo from CRAN
        sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
    
        # install R itself
        sudo apt install --no-install-recommends r-base
                    
  • Installing the RStudio Server IDE:
        # install dependencies
        sudo apt install -y r-base-core r-recommended r-base-dev gdebi-core build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev
        sudo apt install --no-install-recommends gdebi-core
    
        # cd ~/Downloads
    
        # download the latest RStudio Server .deb file
        wget https://download2.rstudio.org/server/jammy/amd64/rstudio-server-2025.05.1-513-amd64.deb
    
        # install the .deb file
        sudo gdebi rstudio-server-2025.05.1-513-amd64.deb
    
        # start the RStudio Server
        sudo systemctl start rstudio-server
    
        # enable RStudio Server to start on boot
        sudo systemctl enable rstudio-server
                    
  • After installation of RStudio Server, check you can access it by:
    • Opening a web browser and navigating to http://localhost:8787.
    • Logging in with the username and password you used when you set up Linux / WSL2.

If you are using Windows and WSL2, the full in-depth instructions for installing R on WSL2 can be found in this POSIT article.