"R-studio has lost connection to the server " getting an error in R studio IDE

rstudio

#1

In R Studio IDE -sometimes,We are seeing an error “R-studio has lost connection to the server” . Once click “OK” then get back into the application, however, this would stop any processing data.

Is R Studio IDE application is behave like this or any parameters need to update?


#2

Some additional information would be helpful in diagnosing problems like these:

If you are on MacOS, check out the crash report.


#3

I can not able to run a Diagnostic report in Rstudio terminal and not able to see in R studio IDE

From within RStudio:

Help Menu -> Diagnostics -> Write Diagnostics Report

[root@rstudio02 sbin]# /usr/sbin/rstudio-server status
● rstudio-server.service - SYSV: RStudio server provides a web interface to R
Loaded: loaded (/etc/rc.d/init.d/rstudio-server; bad; vendor preset: disabled)
Active: active (exited) since Mon 2018-03-26 04:21:31 BST; 1 day 10h ago
Docs: man:systemd-sysv-generator(8)

Mar 26 04:21:30 ip-11-191-83-246.eu-west-1.compute.internal systemd[1]: Starting SYSV: RStudio server provides a web interface to R...
Mar 26 04:21:30 ip-11-191-83-246.eu-west-1.compute.internal rstudio-server[433]: Starting rstudio-server: [ OK ]
Mar 26 04:21:32 ip-11-191-83-246.eu-west-1.compute.internal systemd[1]: Started SYSV: RStudio server provides a web interface to R.