ERROR R SUICIDE: ERROR r error 4 (R code execution error)

I was working in RStudio last night without problem. My computer died but I saved everything before it shutoff. I switched to a new computer and when I tried to connect to RStudio server as I always do (xx.xx.xxx:8787) I got an "Error occurred during transmission" prompt after several minutes of attempting to load the page. Screen Shot 2020-07-06 at 10.16.30 AM

I am the system admin. I can log into R on the terminal and I used the terminal to:

> sudo rstudio-server stop
> sudo rstudio-server start
> sudo rstudio-server restart

with normal results. When I run:

sudo systemctl status rstudio-server

Initially the output was normal, but now I am getting this:

● rstudio-server.service - RStudio Server
   Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2020-07-06 09:09:36 MDT; 10min ago
  Process: 18238 ExecStop=/usr/bin/killall -TERM rserver (code=exited, status=0/SUCCESS)
  Process: 18240 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
 Main PID: 16595
    Tasks: 14
   Memory: 4.2G
      CPU: 2min 38.513s
   CGroup: /system.slice/rstudio-server.service
           ├─18241 /usr/lib/rstudio-server/bin/rserver
           ├─18287 /usr/lib/rstudio-server/bin/rsession -u sardard --launcher-token 3EEE83F0
           └─18402 /usr/lib/rstudio-server/bin/rsession -u gliauser --launcher-token 3EEE83F0

Jul 06 09:13:07 gliaserver rsession-lozzib[18378]: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".rs.acContextTypes"
Jul 06 09:13:07 gliaserver rsession-lozzib[18378]: ERROR R SUICIDE: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".r
Jul 06 09:14:00 gliaserver rsession-gliauser[18402]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::sess
Jul 06 09:14:00 gliaserver rsession-gliauser[18402]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::sess
Jul 06 09:14:06 gliaserver rsession-gliauser[18402]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::sess
Jul 06 09:14:06 gliaserver rsession-gliauser[18402]: ERROR system error 22 (Invalid argument); OCCURRED AT: rstudio::core::Error rstudio::sess
Jul 06 09:15:53 gliaserver rsession-lozzib[18480]: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".rs.acContextTypes"
Jul 06 09:15:53 gliaserver rsession-lozzib[18480]: ERROR R SUICIDE: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".r
Jul 06 09:16:15 gliaserver rsession-lozzib[18496]: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".rs.acContextTypes"
Jul 06 09:16:15 gliaserver rsession-lozzib[18496]: ERROR R SUICIDE: ERROR r error 4 (R code execution error) [errormsg=Error in assign(x = ".r

Other users can still log on and utilize the server normally, but I cannot. I have tried everything I can think of to no avail. Please help!

Try reseting your user's state

1 Like

That worked! Thank you so much!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.