aaw icon indicating copy to clipboard operation
aaw copied to clipboard

Support SAS in tandem with Rstudio

Open Jose-Matsuda opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please link issue ticket

There are requests to have rstudio and sas in the same image.

Describe the solution you'd like

Put Rstudio on the SAS image

Describe alternatives you've considered

N/A

Additional context

I would think we want to install rstudio on the SAS image and not the other way around. Hopefully a size M at most as I don't know how well everything would play together

Jose-Matsuda avatar Oct 18 '22 17:10 Jose-Matsuda

This would also be a priority for me!

Eric-Fecteau-Statcan avatar Oct 20 '22 18:10 Eric-Fecteau-Statcan

Refactoring the SAS image to include Rstudio can be done but cannot be prioritized until the new calendar year. Adding to backlog for now, thank you Eric for the feedback.

chuckbelisle avatar Oct 26 '22 15:10 chuckbelisle

Possible resources to look into

  • [x] https://stackoverflow.com/questions/58698554/jupyter-notebooks-with-rstudio-server-open-source
  • [x] https://github.com/jupyterhub/jupyter-rsession-proxy 👍
  • [x] https://www.rstudio.com/resources/rstudioconf-2020/using-jupyter-with-rstudio-server-pro/
  • [x] https://www.rstudio.com/blog/build-and-share-jupyter-notebooks-on-rstudio-team/

wg102 avatar Jan 18 '23 04:01 wg102

The Jupyter-rsession-proxy works well. Just need to make sure that rstudio and R are installed on the image first. image

I am now going to create a PR on which I have it on the SAS image. And use the auto-deploy tag to test it in dev.

wg102 avatar Jan 27 '23 17:01 wg102

Following testing, it was noticed that we have shiny in our sas image. The use of the plugging created an icon. So I investigated where shiny came from. And apparently we still have a few references in our code. https://github.com/StatCan/aaw-kubeflow-containers/blob/a0d99b029c317a752c2896d86931d1301546068d/docker-bits/0_Rocker.Dockerfile#L22 Those seem to trickle down to this file: https://github.com/rocker-org/rocker-versioned2/blob/master/scripts/install_shiny_server.sh

As of now, shiny is out of scope, and might be reconsidered in future fiscal years.

wg102 avatar Feb 01 '23 14:02 wg102