RStudio image
Last updated
Last updated
We could use to build a Jupyter Notebook with RStudio:
Ensure repo2docker installed
Clone the source code and add sudo
to apt.txt
Build image with arguments --user-name jovyan --user-id 1000
Add image to PrimeHub and start in Safe Mode
Execute jupyter-repo2docker
command to see if any output from the command
If command command not found: jupyter-repo2docker
shows, please install python3-pip
and jupyter-repo2docker
packages.
If bash: jupyter-repo2docker: command not found
shows, please export ${HOME}/.local/bin
file to PATH.
Git clone the source code
In the source directory, create apt.txt
and add sudo
in a line
Check the current file status.
Verify
Build a image with the tag infuseai/r
in the source directory (.
)
Then Check the docker image is successfully push to dockerhub.
Add Docker image into PrimeHub images function.
Start Notebook with the image in Safe Mode
.
Initially, it enters a general Jupyter Notebook.
Regarding accessing RStudio, in browser the current URL looks like
Replace the suffix lab
with rstudio
to be like URL below and navigate.
Here RStudio is
For the RStudio environment, we must add the following at the end of the URL: ?urlpath=rstudio
according to the .