Skip to content

Connect to (running) Jupyter Kernel #107

@vnijs

Description

@vnijs

Is your feature request related to a problem? Please describe.
Plots are shown in a separate window and cannot be shown (unless you use X) when using code-server (i.e., vscode on a server running in a browser)

Describe the solution you'd like
Connect to a (running) R-jupyter kernel. This is possible in the Microsoft python extension (Python Interactive Window) and in Atom's Hydrogen extension. According to Issue 2 it is possible to connect to an R-kernel through Jupyter but it is not clear to me how that would work.

The way it works with vscode python extension is that you provide a URL to connect to which could be local or remote. The process is very similar for Hydrogen: (https://github.com/nteract/hydrogen/blob/master/docs/Usage/RemoteKernelConnection.md)

For the docker image linked below you would connect to jupyter using:

http://localhost:8989/?token=jupyter

You can run a docker image from vnijs/rsm-editors or run a bash script through the command below and press 3 when the menu shows up. Jupyter lab will be accessible through localhost on port 8989. The "VS Code" icon will start code-server in the browser.

source <(curl -s https://raw.githubusercontent.com/radiant-rstats/docker/master/launch-rsm-editors.sh)

https://cloud.docker.com/u/vnijs/repository/docker/vnijs/rsm-editors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions