R kernels not starting

We’re seeing errors when trying to run R commands in a Z2JH setup.

Here’s what I see in the logs:

[D 2022-06-13 15:28:28.275 SingleUserLabApp manager:386] Starting kernel: [‘R’, ‘–slave’, ‘-e’, ‘IRkernel::main()’, ‘–args’, ‘/home/jovyan/.local/share/jupyter/runtime/kernel-aafed1d6-ff51-44f0-a7df-a73a56054432.json’]
[D 2022-06-13 15:28:28.277 SingleUserLabApp connect:604] Connecting to: tcp://127.0.0.1:38667
OMP: Error #179: Function Can’t open SHM2 failed:
OMP: System error #13: Permission denied

This is running the latest stable Z2JH release.

Best Wishes,
Adam

Hi! I noticed you’ve also opened an issue at [BUG] - permission denied error with datascience-notebook · Issue #1723 · jupyter/docker-stacks · GitHub

In future if you open multiple issues please cross-reference them, to avoid people repeating the same investigative work. Thanks!