-
Notifications
You must be signed in to change notification settings - Fork 1
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
R workspaces need to support maap-py and python. #684
Comments
Will create a new r-py workspace to have both R and python in the same base image. |
This should become the new default R workspace (with R>4.0) we should retire the older R workspace option (or discourage it's use). Which if we're doing maybe we can revisit the default R packages too? |
I've updated the R workspace to build as part of figuring out the CI process. Let's discuss at tagup. |
New R workspace changes were merged into develop and now I can successfully create a workspace from R stable in the DIT environment. I pushed this image by using Marjorie's work around for the CI process being in flux by building the images locally and pushing them to the gitlab machines.
However, I encountered a bug where my notebook testingRPackages.ipynb isn't opening correctly anymore
Doing Does anyone have advice for looking into this issue more? Maybe using Kubernetes to look into some logs? |
|
By default libraries, do you mean what we are installing with the R base image? If so:
|
Update: I tested 5 notebooks this same way in the /home directory and 2 of them exhibited this behavior... I am not sure if we like those odds For anyone else curious, there is a bug in the R stable workspace because we are using jupyterlab 3.6.1, but basic stable is using jlab 3.4.4 and appears to be working fine |
UWG member also reported the ydoc issue in jlab 3.6.1 when trying to access notebook shared-buckets/abarenblitt/GEDI_Subsetting.ipynb. Docker logs show:
|
UWG member who reported this issue (Abigail Barenblitt) was in https://ade.maap-project.org/ using a Basic Stable workspace We previously thought the problem was only for the R stable workspace. @gchang Since the jupyterlab bug fix has already been merged, did we decide the best way to handle this was wait for jupyterlab v3.6.4? |
Still waiting on 3.6.4 |
Jupyter lab 4.0.0 has been deployed, and going to do testing with that version |
Relevant issues: We resolved this not by changing the jupyterlab version, but by removing the --collaborative tag during jupyterlab setup |
Both bullets identified in the original notes have been completed. |
@oddes Code to help with testing:
|
Now we just need to open a ticket on https://github.com/MAAP-Project/maap-documentation/issues to create user facing documentation on common usage of:
|
@rtapella to create tix in documentation repo, and close this one. |
@wildintellect do you mean usage of maap-py from R/reticulate? |
@rtapella yes R/reticulate is likely the solution users need if working in an R environment. |
okay closing this one and using MAAP-Project/maap-documentation#381 for the remainder |
Is your feature request related to a problem? Please describe.
When using the R Stable workspace https://github.com/MAAP-Project/maap-workspaces/blob/develop/base_images/r/docker/Dockerfile
maap-py and python are not available inside the r-with-gdal environment. This causes issues when a user wants to mix Python and R across notebooks or to make user of maap-py from within R. We need to make sure the r-with-gdal env is usable as either Python or R, and consider moving all the packages to the base env.
Users are struggling to get into the correct environment and find the libraries they expect.
Adding r-reticulate to R installs will also allow users to utilize maap-py search and download tools from R directly. (Data team will help write documentation), this is key to using NASA data protected by EDL.
Describe the solution you'd like
Describe alternatives you've considered
Asking users to user a different workspace for Python and for R, this can be even more confusing.
Additional context
This is related to troubleshooting with Laura and Paromita recently with @bsatoriu
The text was updated successfully, but these errors were encountered: