grst / rstudio-server-conda

Run Rstudio Server in a conda environment
MIT License
231 stars 48 forks source link

How to close R studio server? And access terminal while server is running? #4

Closed andreasgoteson closed 4 years ago

andreasgoteson commented 4 years ago

Bit of a newbie here, but when I run R studio server the regular way using r-base on ubuntu i can start and stop the server from terminal, also I can still access my terminal while running r studio server. But when I run it this way the terminal is not accessible and if I stop the session from R studio server menu nothing happens in command line?

grst commented 4 years ago

Hi @andreasgoteson,

thanks for your question. I'm not sure if I understand your issue correctly, but,

The Ctrl + commands are not specific to this project, and I recommend you to familarize yourself with these essential linux commands ;)

andreasgoteson commented 4 years ago

Like I said - newbie questions. Now I get it! Thx

grst commented 4 years ago

But running R-studio server the general way (using R-base outside conda env and calling 'rstudio-server start') does not block the terminal.

Usually, rstudio-server starts a "Daemon" that runs in the background. This is not compatible with the conda-approach.

So do I simple close the server by closing the terminal window Yes, or Ctrl + C.

On Wed, 6 Nov 2019 at 10:00, Andreas Göteson notifications@github.com wrote:

Closed #4 https://github.com/grst/rstudio-server-conda/issues/4.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grst/rstudio-server-conda/issues/4?email_source=notifications&email_token=ABVZRV3KYYQ7K3X2JC3TO6TQSKBTFA5CNFSM4JJECC3KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUVPP44Q#event-2774466162, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVZRV5Q6EIQHG2CL7PGU5TQSKBTFANCNFSM4JJECC3A .