jupyter-rsession-proxy icon indicating copy to clipboard operation
jupyter-rsession-proxy copied to clipboard

RStudio Will not open

Open alexswo opened this issue 7 years ago • 3 comments
trafficstars

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...

alexswo avatar Aug 06 '18 04:08 alexswo

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

ridwanoabdulazeez avatar Oct 24 '18 19:10 ridwanoabdulazeez

@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.

alexswo avatar Oct 24 '18 20:10 alexswo

@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.

ryanlovett avatar Oct 25 '18 21:10 ryanlovett