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

RStudio image based on R image instead of Python on #15

Open
rdelaros opened this issue Aug 1, 2023 · 0 comments
Open

RStudio image based on R image instead of Python on #15

rdelaros opened this issue Aug 1, 2023 · 0 comments

Comments

@rdelaros
Copy link

rdelaros commented Aug 1, 2023

Docker file at RStudio Image said:

Start with a Base CML Runtime
Note: This particular image will use the Python base image, not R as expected. There is a 
complication with CML that prevents editors and applications from launching if the CML
version of python isn't present. This should be fixed in a future release.

This is still the case. Or is there a workaround to change the editor although we are using an R Image. If we are using Python Image spark is not working fine. But if we using the R Image is working fine.

Our current approach is use an R Workbench Image install RStudio and then from workbench launch RStudio on the app port.

system("/usr/local/bin/rstudio-cml",wait=FALSE)
domain=Sys.getenv("CDSW_DOMAIN")
engine=Sys.getenv("CDSW_ENGINE_ID")
sprintf("Open RStudio at https://% s.% s", engine, domain)

Is working fine with spark and all the configuration but it will be nice if we can open RStudio directly.

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

No branches or pull requests

1 participant