'Is it possible to disable the RStudio connections pane?

I wonder if we can disable the RStudio Connection Pane altogether?

What I tried so far:

  • untick Connection in Tools / Global Options / Pane Layout / upper right segment --> does not work as it automatically puts the tick on Connection in the lower right segment
  • tried to find an environment variable and put it in Renviron.site --> did not find any

I am running RStudio Server 1.3.959 (Middlemist Red) for Ubuntu Bionic with R4.0.0 installed.



Solution 1:[1]

What works for me is setting options(connectionObserver = NULL) before starting the connection. I do this on a case by case basis, but you could set it on the .rProfile file for it to be a default.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kurast