Exercise Platform

There are three different options available to work on examples and exercises. The table below (Table 1) provides some information on these options.

Table 1: R Exercise Platforms
Nr Platform Link
1 Webr https://webr.r-wasm.org/latest
2 Posit Cloud https://posit.cloud
3 Your own installation https://posit.co/download/rstudio-desktop

Description

The three platforms all have advantages and disadvantages. Table 2 gives and overview of the characteristics of each platform

Table 2: Characteristics of the three available R Exercise Platforms
Platform Pros Cons
Webr Runs R in the browswer, no installation required. No persistency, reloading browser removes everythiing
Posit Cloud Provides full RStudio environment, accessible via browser Need to register with posit, free version has limitations
Your own installation Full flexibility and maximum possible freedom with respect to customisation, etc. All problems are your responsibility, maybe need contacts to expert

Further Details

Webr

Persistency means that R-code (programs or scripts) that you write are stored somewhere. With webr this storage is only kept as long as the current browser view is active. As soon as you hit the reload button or you close and re-open the browser window, all work (files and directories) is gone and cannot be restored.

Hence it is advisable to either write R-programs in a separate program called an editor (such as VSCode) and to import the programs to webr or to frequently export the R-programs to your local file-system storage.

Because webr runs completely in the browser, there. might be differences between different browsers. The material used in this course will be tested with Google Chrome. Other browsers might lead to a different user experience.

Posit Cloud

The free version of posit cloud has limitations. They can be seen from the posit cloud website (https://posit.cloud/plans/free). These limitations should not be a problem for what we use the platform in our course.

Your Own Installation

Running your own versions of R and RStudio gives you maximum flexibility with respect to adapting and configuring the environment. But one frequent problem with this option are the updates. R and RStudio publish new versions on a regular basis and these new versions must be installed. After installing a new version, some adaptations of installed packages must be done which is not always that easy.