I'm running Rstudio (preview) in a Docker container on macOS and Windows. I'm using a bash script to make it easier to start/stop the container. This is working very nicely, except that each time I stop (kill) the docker process and start it back up again, Rstudio shows an error message that the "session was abnormally terminated".
Is there a way to avoid this message from showing up? e.g., by removing a file in the .rstudio directory before startup?
@jonathan I wonder if the following might be a related problem. I'm using rstudio (open source) in a docker container running on my laptop. I access rstudio from different ports (e.g., 8787 and 8788). The 2nd instance also has to reset the 'abend' variable to avoid the "abnormally" terminated message.
When running on > 1 port, now and then without any pattern that I can determine, the follow error pops up and the file I'm editing cannot be saved. Also, a browser refresh dumps the rstudio project. Any ideas or suggestions? Is this perhaps a built-in limitation in the open-source version of Rstudio?
FYI I'm running the Rstudio server preview version (1.2.907) in the container and this would happen with the previous preview version as well. Launch scripts for the docker container are available in repo linked below: