jupyterhub / jupyter-rsession-proxy

Jupyter extensions for running an RStudio rsession proxy
BSD 3-Clause "New" or "Revised" License
119 stars 87 forks source link

RStudio Will not open #32

Open alexswo opened 6 years ago

alexswo commented 6 years ago

Hi, When I try to click on RStudio Session, I get an error containing the following message:

[I 2018-08-06 04:03:55.988 SingleUserNotebookApp handlers:438] No existing rsession found
[I 2018-08-06 04:03:55.988 SingleUserNotebookApp handlers:390] Starting process...
ridwanoabdulazeez commented 6 years ago

@alexswo are you able to resolve this issue? if yes, how?

alexswo commented 6 years ago

@ridwanoabdulazeez , No. I was trying to run RStudio on a linux instance. However, RStudio requires an output feed (i.e. screen monitor). Therefore, RStudio did not start up for me on JupyterHub. To note, RStudio and RStudio Server are different. And the application that I wanted to run was RStudio Server, which to my knowledge nbrsessionproxy does not support.

ryanlovett commented 5 years ago

@alexswo How are you preparing your Jupyter + RStudio environment? What happens if you drop to a Jupyter terminal and run rserver --www-port={some_num} where some_num is a randomly chosen TCP port? e.g. rserver --www-port=56789. This is what the extension runs for you in the background and by running it manually we may see why it is failing.

RStudio requires an output feed (i.e. screen monitor)

This extension starts RStudio's web interface which runs a web service in the background. Technically it doesn't need a monitor (i.e. X11 display) to run, though you do need to connect to the web service to actually use it. This extension uses nbserverproxy to do so.