RStudio image
We could use repo2docker to build a Jupyter Notebook with RStudio: https://github.com/binder-examples/r
Ensure repo2docker installed
Clone the source code and add
sudo
toapt.txt
Build image with arguments
--user-name jovyan --user-id 1000
Add image to PrimeHub and start in
Safe Mode
Check repo2docker
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.
Use repo2docker to build R-studio docker image.
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.
Build R-studio in PrimeHub
Add Docker image into PrimeHub images function.
Start Notebook with the image in Safe Mode
.
Initially, it enters a general Jupyter Notebook.
For the RStudio environment, we must add the following at the end of the URL: ?urlpath=rstudio
according to the README.
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
Last updated