Test Results for Refining the R Dev Container

View on GitHub

Hard-2 Test Results

Screenshot of the information messages shown when creating the workspace

(with debug mode enabled)

image

The docker container:

image


Screenshot after following the Running R tutorial

running-r

Screen Recording

running-R-screen-recording


What works and what doesn’t?

I was able to follow the Running R tutorial without any hurdle.

I tried exploring an in-built dataset and made a few plots, and encountered no issues at all.

image

The only issue I encountered is that the default library path (inside usr) is not writable by the ssh’ed-into user vscode, so a warning is shown for using a different library path while installing a package for the first time.

image

Playing around a little bit more, I found that some of the functionality (specifically, the which_r bash function included with the container) that is vscode-specific, also doesn’t work in positron.

Update#2:I could get which_r to work, albeit partially. This was by creating an empty (i.e. {}) /workspaces/r-dev-env/.vscode/settings.json, so the which_r script no longer fails to find the settings file.

devpod-positron-using-which_r

Hence, I still need to figure out how to make the positron console use the built version.