Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add R kernel to docker image #55

Open
manjilasingh opened this issue Jul 23, 2024 · 6 comments · May be fixed by #56
Open

Add R kernel to docker image #55

manjilasingh opened this issue Jul 23, 2024 · 6 comments · May be fixed by #56
Assignees
Labels
enhancement New feature or request

Comments

@manjilasingh
Copy link

Users currently need to reinstall r kernel every time they start a server. Adding r kernel directly to the image would eliminate the need of repeated installations. The following line can be added to the Dockerfile:
RUN conda install -c r r-irkernel

@arpita0911patel arpita0911patel added the enhancement New feature or request label Jul 23, 2024
@benlee0423
Copy link
Collaborator

@manjilasingh
How many users are requesting this feature, and which organization are they belongs to?

@benlee0423
Copy link
Collaborator

Before

$ jupyter kernelspec list
[ListKernelSpecs] WARNING | Config option `kernel_spec_manager_class` not recognized by `ListKernelSpecs`.
Available kernels:
  python3    /srv/conda/envs/notebook/share/jupyter/kernels/python3

After

$ jupyter kernelspec list                          
[ListKernelSpecs] WARNING | Config option `kernel_spec_manager_class` not recognized by `ListKernelSpecs`.                                                                        
Available kernels:                                                                       
  ir         /srv/conda/envs/notebook/share/jupyter/kernels/ir                           
  python3    /srv/conda/envs/notebook/share/jupyter/kernels/python3  

@benlee0423 benlee0423 linked a pull request Jul 24, 2024 that will close this issue
@manjilasingh
Copy link
Author

@manjilasingh How many users are requesting this feature, and which organization are they belongs to?

@arpita0911patel might have that info

@benlee0423
Copy link
Collaborator

benlee0423 commented Jul 24, 2024

Correct command to use
RUN conda install -c r r-irkernel -y
After rebuild and use the image to launch instance in staging.

$ jupyter kernelspec list
[ListKernelSpecs] WARNING | Config option `kernel_spec_manager_class` not recognized by `ListKernelSpecs`.
Available kernels:
  python3    /srv/conda/envs/notebook/share/jupyter/kernels/python3
(notebook) jovyan@jupyter-benlee0423:~$ 

This means conda command is not compatible with Dockerfile, and the command does not install R kernel to the image built.

@benlee0423
Copy link
Collaborator

@arpita0911patel
We like to ask new image built tested by requester in staging if it works.
Can you share the email address who requested r kernel, and I will send instruction how to test in staging?

@arpita0911patel
Copy link
Member

Pabitra Dash [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants