community-ml-runtimes
community-ml-runtimes copied to clipboard
RStudio image based on R image instead of Python on
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.