From a9d7a20ff26420d7cdd1e8124bcec98a12b8de50 Mon Sep 17 00:00:00 2001
From: Dirk Sarpe <dsarpe@posteo.de>
Date: Tue, 14 Apr 2020 22:26:08 +0200
Subject: [PATCH] add how to kill your r jobs

---
 rstudio1.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/rstudio1.md b/rstudio1.md
index 26e0338..485ef17 100644
--- a/rstudio1.md
+++ b/rstudio1.md
@@ -110,7 +110,27 @@ you might want to consider either moving stuff from the ~/winhome to /data or
 open a [tmux](tmux.md) session from which you detach (Ctrl+b, d) before you
 disconnect.
 
+
 ## R and data
+
+### sessions and R jobs
+
+When you have logged in a R session is started or resumed. Sometimes a R job
+can make your session unresponsive. In this case first check if you can
+stop your currenlty running R job by pressing the red stop sign in the top
+right corner of the console. This sign is only visible if you are executing
+code. If you can not interact with the web interface anymore, you can still end
+your session via *ssh*:
+
+```bash
+ssh ab12cdef@rstudio1.idiv.de 'kill-my-rstudio-session'
+```
+
+If you can not access the machine via ssh please [ask the
+GSU](mailto:it-support@idiv.de?subject=kill%20my%20rstudio%20session) to kill
+your session.
+
+
 ### compression
 
 Please note that R is able to work with compressed files. This is especially
-- 
GitLab